choice!
Why not choice? Because Windows already have choice command.
Why not choic? Too long
Why not choi? Still long
Then, cho? Sound good to me
Just like peco
$ go get github.com/mattn/cho
FOO=`ls | cho`
for /f "delims=;" %%i in ('ls ^| cho') do set FOO=%%i
| Key | Behavior |
|---|---|
| CTRL-N | Next |
| CTRL-P | Previous |
| Enter | Decide |
| CTLR-A | Left side on prompt |
| CTLR-E | Right side on prompt |
| CTRL-V | Select in multi mode |
| CTRL-U | Clear prompt |
| ESC | Cancel |
MIT
Yasuhiro Matsumoto (a.k.a mattn)
