We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b02636b commit 404c31fCopy full SHA for 404c31f
lib/better_errors/pry/repl/pry.rb
@@ -61,7 +61,9 @@ def send_input(str)
61
end
62
63
def prompt
64
- if indent = @pry.instance_variable_get(:@indent) and !indent.indent_level.empty?
+ if @pry.respond_to? :select_prompt
65
+ [@pry.select_prompt, ""]
66
+ elsif indent = @pry.instance_variable_get(:@indent) and !indent.indent_level.empty?
67
["..", indent.indent_level]
68
else
69
[">>", ""]
0 commit comments