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
Reline behaves oddly with redirect (nontty output) #616
I think it is Reline's bug. Reline's output should make the terminal screen to show:
>foo
foo
My understanding is that Reline does not aim to output exactly the same byte sequence as Readline. Reline's output can contain escape sequences or control characters like "\r>\r>f\r>foo\nfoo\n". Fixing this bug might not make the mentioned test pass.
Note that Readline's output sometimes contains different escape sequence depending on version or environment.
Activity
tompng commentedon Dec 11, 2023
I think it is Reline's bug. Reline's output should make the terminal screen to show:
My understanding is that Reline does not aim to output exactly the same byte sequence as Readline. Reline's output can contain escape sequences or control characters like
"\r>\r>f\r>foo\nfoo\n". Fixing this bug might not make the mentioned test pass.Note that Readline's output sometimes contains different escape sequence depending on version or environment.
Depend on readline-ext to get proper behavior of pry prompt
Require readline-ext when testing with Ruby 3.3
Use plain irb in debugging scenario
Switch to StdioInputMethod when TERM is 'dumb'
Switch to StdioInputMethod when TERM is 'dumb' (#907)