aisk / pick

create curses based interactive selection list in the terminal
MIT License
721 stars 60 forks source link

input() after picking breaks the typing portion of input #83

Open 8o5 opened 1 year ago

8o5 commented 1 year ago

option, index = pick(options, title, indicator=">>") change = input(">> ")

doing this results in being unable to press enter in the input function, and instead it writes "^M"

wong2 commented 1 year ago

It works for me. What's your environment? OS, terminal etc.

8o5 commented 1 year ago

It works for me. What's your environment? OS, terminal etc.

currently inside the python debug terminal inside vsc

wong2 commented 1 year ago

Does it work in a normal terminal?

Cornelius-Figgle commented 1 year ago

inside vsc

I believe pick has known problems with vs code's terminal - maybe see if launching in external terminal works