-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
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
Use rustyline crate for Input prompt #82
Comments
Hmm, I can't actually replicate the tmux backspace issues I had before now. It might have been due to pasting lines too maybe. Nevertheless I think it would be useful to have the readline support, and also better handling for if the user pastes multiple lines (or if their paste ends with a newline, etc.) |
Is this still an issue? |
I think it's still a good idea (and rustyline is still maintained) - ideally we could remove this whole loop if all the features work well (not sure if it has built-in history support though) - https://github.com/mitsuhiko/dialoguer/blob/master/src/prompts/input.rs#L262 |
The Input prompt has a few issues at the moment, mainly:
We could use the rustyline crate underneath so we get all the readline functionality for free, and it should work in terminal multiplexers and cross-platform.
EDIT: Swapped liner for rustyline, as the former is dead.
The text was updated successfully, but these errors were encountered: