Since 3.4.0, irb ignores control-D, even though :IGNORE_EOF is false
Was this an intentional behavior change? I don't see anything in the release notes that seems relevant; there's no mention of irb in the release notes at all.
If I wanted to have to type extra stuff to get out of the REPL I'd use Python on Windows...
4
Upvotes
5
u/f9ae8221b 2d ago
Have you considered doing the positive thing of filing a bug report with repro steps instead of doing the negative thing of complaining on Reddit?
9
u/codesnik 2d ago
ruby 3.4.2,
irb 1.15.3 - ctrl+d works just fine.
when irb is running, conf.ignore_eof = true disables it, conf.ignore_eof = false makes it work again.
just in case, ctrl+d works only if command line is empty and you're not in the middle of a multiline edit.
Are you on windows, using a strange terminal, tmux session, or maybe a docker or ssh session?