diff options
Diffstat (limited to 'lib/irb/debug.rb')
-rw-r--r-- | lib/irb/debug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/debug.rb b/lib/irb/debug.rb index 514395605f..1ec2335a8e 100644 --- a/lib/irb/debug.rb +++ b/lib/irb/debug.rb @@ -64,7 +64,7 @@ module IRB unless output.strip.empty? cmd = output.split(/\s/, 2).first - if DEBUGGER__.commands.key?(cmd) + if !complete && DEBUGGER__.commands.key?(cmd) output = output.sub(/\n$/, " # debug command\n") end end |