pick icon indicating copy to clipboard operation
pick copied to clipboard

input() after picking breaks the typing portion of input

Open 8o5 opened this issue 3 years ago • 5 comments

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"

8o5 avatar Oct 25 '22 17:10 8o5

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

wong2 avatar Oct 28 '22 11:10 wong2

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

currently inside the python debug terminal inside vsc

8o5 avatar Oct 28 '22 15:10 8o5

Does it work in a normal terminal?

wong2 avatar Nov 06 '22 07:11 wong2

inside vsc

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

Cornelius-Figgle avatar Dec 22 '22 16:12 Cornelius-Figgle