Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
8o5 opened this issue Oct 25, 2022 · 4 comments
Open

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

8o5 opened this issue Oct 25, 2022 · 4 comments

Comments

@8o5
Copy link

8o5 commented Oct 25, 2022

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 8o5 changed the title trying an input() after picking something breaks input() input() after picking breaks input() Oct 25, 2022
@8o5 8o5 changed the title input() after picking breaks input() input() after picking breaks the typing portion of input Oct 27, 2022
@wong2
Copy link
Collaborator

wong2 commented Oct 28, 2022

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

@8o5
Copy link
Author

8o5 commented Oct 28, 2022

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

currently inside the python debug terminal inside vsc

@wong2
Copy link
Collaborator

wong2 commented Nov 6, 2022

Does it work in a normal terminal?

@Cornelius-Figgle
Copy link
Contributor

inside vsc

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants