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

CTRL+c make my cursor disappear #40

Closed
sayanarijit opened this issue Jul 28, 2020 · 3 comments · Fixed by #57
Closed

CTRL+c make my cursor disappear #40

sayanarijit opened this issue Jul 28, 2020 · 3 comments · Fixed by #57
Labels
bug Something isn't working

Comments

@sayanarijit
Copy link

Hi

I encountered this issue while trying it out.

asciicast

@mainrs
Copy link
Owner

mainrs commented Aug 6, 2020

Interesting issue. I think this has to do with an upstream dependency. I'll try opening an issue over there.

@mainrs
Copy link
Owner

mainrs commented Aug 15, 2020

@mainrs mainrs added the bug Something isn't working label Aug 17, 2020
@mainrs
Copy link
Owner

mainrs commented Aug 17, 2020

Looks like we manually have to add a ctrlc handler.

mainrs pushed a commit that referenced this issue Mar 21, 2021
If a user pressed ctrl-c/ctrl-d during the questioning process, the
cursor would be hidden after the process gets terminated. A custom
callback has been registered that restores the cursor if one of the
signals gets send.

Fixes #40
mainrs pushed a commit that referenced this issue Mar 21, 2021
If a user pressed ctrl-c/ctrl-d during the questioning process, the
cursor would be hidden after the process gets terminated. A custom
callback has been registered that restores the cursor if one of the
signals gets send.

Fixes #40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants