promptui
promptui copied to clipboard
promptui.Select does not work on Windows
promptui.Select does not work on Windows. Keyboard selection does not respond. Environment: Windows 10 and command prompt.
Approved. I have the same bug on Windows10. I tested 'Select' example from 'Basic usage'.
Possibly related to #31 (i.e windows issues)
Keyboard selection only work using vim keys on Windows at the moment (j k). Readline, the lib we are using to interact with terminals, doesn't seem to trigger any arrow key events.
#37 allows me to use vim keybindings for up and down (j and k) but arrows are not resolved by it for me, just as an fyi.
Confirmed the behavior @KaelBaldwin noted on MS Windows Server 2012 R2.
Is there plans to support arrow keys on Windows? Would be very helpful since jk keys are confusing to some users
Just checking in on this as well. It is very confusing for my Windows users to use j + k
instead of arrow keys. Could an option/flag at least be added? Are pull requests accepted?
Works fine in Linux, but fails in Windows: "Prompt failed ^D"
$ go version go version go1.14.2 windows/amd64