We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If terminal echoing suppressed, reline seems sending echo anyway. Is it possible to avoid that?
E.g. with ENABLE_ECHO_INPUT 0x0004 unsetting. https://docs.microsoft.com/en-us/windows/console/setconsolemode Readline honors this setting and does not sent echo.
ENABLE_ECHO_INPUT 0x0004
I believe this happens somewhere here https://github.com/ruby/reline/blob/master/lib/reline/line_editor.rb#L530
(If i comment this out, everything works as expected, without echo)
The text was updated successfully, but these errors were encountered:
We should support this use case. It used to work before ruby 3.3.
password = STDIN.noecho do Readline.readline 'Enter password: ' end
code search result
Sorry, something went wrong.
No branches or pull requests
If terminal echoing suppressed, reline seems sending echo anyway. Is it possible to avoid that?
E.g. with
ENABLE_ECHO_INPUT 0x0004
unsetting. https://docs.microsoft.com/en-us/windows/console/setconsolemodeReadline honors this setting and does not sent echo.
I believe this happens somewhere here https://github.com/ruby/reline/blob/master/lib/reline/line_editor.rb#L530
(If i comment this out, everything works as expected, without echo)
The text was updated successfully, but these errors were encountered: