[ruby] use pry prompt api

pull/33/head
Alpha Chen 4 years ago
parent d2994e2217
commit 3db895d99f

@ -1,9 +1,8 @@
Pry.config.editor = 'vim' Pry.config.editor = 'vim'
Pry.prompt = [ Pry::Prompt.add :kejadlen, nil, %w[ > | ] do |_, _, _, sep|
proc { |target, _, _| "(#{Pry.view_clip(target)})> " }, "(#{Pry.view_clip(target)})#{sep} "
proc { |target, _, _| "(#{Pry.view_clip(target)})| " }, end
]
begin begin
require 'pry-byebug' require 'pry-byebug'

Loading…
Cancel
Save