You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using binding.irb, if I explicitly type continue to continue past a first breakpoint, then pressing enter by itself will continue past the next breakpoint. I expect pressing enter should just insert a newline (i.e. increment the irb prompt).
As you can see in the video below, pressing enter after reaching the first breakpoint just increments the irb prompt, as expected.
However, upon reaching the second breakpoint, pressing enter immediately causes the interpreter to continue past the breakpoint. This is not expected.
Untitled.mov
Result of irb_info
irb(main):001> irb_info
Ruby version: 3.3.5
IRB version: irb 1.14.0 (2024-07-06)
InputMethod: RelineInputMethod with Reline 0.5.10 and /Users/mbrictson/.inputrc
Completion: Autocomplete, RegexpCompletor
RUBY_PLATFORM: arm64-darwin23
LANG env: en_US.UTF-8
East Asian Ambiguous Width: 1
Terminal Emulator
macOS Terminal (macOS Sonoma 14.6.1)
Setting Files
~/.irbrc - None
~/.inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
$if Bash
Space: magic-space
$endif
set completion-ignore-case on
set completion-map-case on
set match-hidden-files off
set show-all-if-ambiguous on
set colored-stats on
Description
When using
binding.irb, if I explicitly typecontinueto continue past a first breakpoint, then pressing enter by itself will continue past the next breakpoint. I expect pressing enter should just insert a newline (i.e. increment the irb prompt).As you can see in the video below, pressing enter after reaching the first breakpoint just increments the irb prompt, as expected.
However, upon reaching the second breakpoint, pressing enter immediately causes the interpreter to continue past the breakpoint. This is not expected.
Untitled.mov
Result of irb_info
Terminal Emulator
macOS Terminal (macOS Sonoma 14.6.1)
Setting Files
~/.irbrc- None~/.inputrc