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

terminal borked after ^C during prompt #20

Open
symphorien opened this issue Apr 24, 2021 · 2 comments
Open

terminal borked after ^C during prompt #20

symphorien opened this issue Apr 24, 2021 · 2 comments

Comments

@symphorien
Copy link

Steps to reproduce:

  1. run the tool
  2. during a prompt ^C
  3. terminal cursor disappears
    expected behavior:
  4. terminal cursor is restored
@Ekleog
Copy link
Owner

Ekleog commented Apr 24, 2021

Given console-rs/dialoguer#77 ; this would probably be hard to solve upstream (we do want to hide the cursor during the selection).

Good news is the workaround is also described there :)

@Ekleog
Copy link
Owner

Ekleog commented Apr 24, 2021

Actually, thinking about it, a ctrl-c handler would also be a great place to make sure we're removing the temporary directories upon ctrl-c

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

No branches or pull requests

2 participants