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 6349b03 commit e91b21fCopy full SHA for e91b21f
lib/irb/debug.rb
@@ -60,7 +60,7 @@ def DEBUGGER__.capture_frames(*args)
60
if !DEBUGGER__::CONFIG[:no_hint] && irb.context.io.is_a?(RelineInputMethod)
61
Reline.output_modifier_proc = proc do |input, complete:|
62
unless input.strip.empty?
63
- cmd = input.split(/\s/, 2).first
+ cmd = input[/\S+/]
64
65
if !complete && DEBUGGER__.commands.key?(cmd)
66
input = input.sub(/\n$/, " # debug command\n")
0 commit comments