kahkhang / Inquirer.sh

Modern terminal prompt inspired by inquirer.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

list_input fails when there is one option

Fmstrat opened this issue · comments

OPTIONS=()
OPTIONS+=( "One" )
list_input "Which one?" OPTIONS CHOICE

When you use the above code, pressing up or down causes "One" to repeat on every line, vs forcing you to stay in place.