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 have a small CLI tool, which does everything correctly on macos except for the weird increasing intent, like on the screenshot. I tested a bit - it's the raw mode which causes issues
enter raw mode: enable_raw_mode().expect("Failed to enable raw mode");
make a selection menu:
let selection = Select::with_theme(&ColorfulTheme::default()).with_prompt("What would you like to do?").item("Backup").item("Restore").item("Exit").interact_opt().expect("Failed to get user selection");
see, that it's buggy. I tested it in iterm2 and in the interated VSC terminal.
Expected behavior
A non intented selection menu
OS
macOS
Terminal/Console
iterm2, VSC integrated terminal - only on macos
The text was updated successfully, but these errors were encountered:
I have a small CLI tool, which does everything correctly on macos except for the weird increasing intent, like on the screenshot. I tested a bit - it's the raw mode which causes issues
If you need more information:
https://github.com/KuramaSyu/acnh-backup/blob/6164d117bd63a9323923af0c55411d721987c534/src/main.rs#L19-L49
this is the source code. It's 250 lines - so not big at all. The marked 30 lines should already contain everything
To Reproduce
Steps to reproduce the behavior:
enable_raw_mode().expect("Failed to enable raw mode");
Expected behavior
A non intented selection menu
OS
macOS
Terminal/Console
The text was updated successfully, but these errors were encountered: