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
I've played with this a bit and have a theory for the bug. I think the issue is that my prompt string has multiple lines: All lines but the first line get printed to the terminal. Taking a string with three lines results in the last two lines being printed twice.
Thanks for this crate, by the way. I could insert a simple terminal prompt without knowing too much about terminals!
Steps to reproduce.
Take this small test programm.
cargo r
Expected result The terminal output looks like this:
Actual result The prompt is printed twice, resulting in output like this.
Meta. Tested on both version 0.9 and 0.8 of dialoguer.
The text was updated successfully, but these errors were encountered: