Open Anay-v2 opened 2 years ago
The select feature does not work on windows + bash terminal. When you try to navigate using arrow keys, the hint disappears and it doesn't let you move. When you press enter it selects the first option only.
select
Here is my code:
require "tty-prompt" prompt = TTY::Prompt.new prompt.select("Choose your destiny?", %w(Scorpion Kano Jax))
I installed this package with gem install tty-prompt
gem install tty-prompt
It didn't let me move and by default selected option 1.
I expected it to allow me to move normally and only select the option i hovered on.
The same is happening for multi_select also
multi_select
Describe the problem
The
select
feature does not work on windows + bash terminal. When you try to navigate using arrow keys, the hint disappears and it doesn't let you move. When you press enter it selects the first option only.Steps to reproduce the problem
Here is my code:
I installed this package with
gem install tty-prompt
Actual behaviour
It didn't let me move and by default selected option 1.
Expected behaviour
I expected it to allow me to move normally and only select the option i hovered on.
Describe your environment