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
{{ message }}
Repository navigation
Can't launch IRB in TTY, no way to kill/sigstop #296
Activity
Souravgoswami commentedon Sep 26, 2021
Well, if I put --nocolorize, it still doesn't work. If I put
--nomultilineit works.mrdev023 commentedon Nov 18, 2021
Same
elfham commentedon Dec 11, 2021
I was also able to reproduce the problem on FreeBSD 13.0.
(Ruby 2.7.4, irb 1.3.7 (2021-08-12), Reline 0.2.7, LANG=C.UTF-8)
It seems to be stuck here:
Reline::Core#may_req_ambiguous_char_widthReline::IOGate#cursor_posReline::ANSI#cursor_posc = stdin.getcAccording to the following article, FreeBSD console does not respond to escape sequence of the cursor position.
for example, by remote terminal:
by FreeBSD console:
In these situation, it seems that we have to determine ambiguous width and cursor position in some other way.
tompng commentedon Oct 8, 2024
Fixed in ruby/reline#750