-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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-ing out of checkbox prompt leaves terminal in broken state #1286
Comments
Hi @maschwenk, can you explain what you mean by "broken state"? Broken how? What is the expected state? |
Think this has to do with c51e33d downgrading |
Hi @tommy-mitchell, I doubt this is related. This package is only used on the legacy version; and this one doesn't have the issue of the cursor disappearing on It appears to only happen with the The code restoring the cursor as a back up is here: https://github.com/SBoudrias/Inquirer.js/blob/master/packages/core/src/lib/screen-manager.mts#L128 - I wasn't able to figure it out yet. |
Seems it's only the |
@tommy-mitchell I'm not sure I'm fully following. Which version of the old Inquirer are you running into this issue with? I wasn't able to reproduce this myself. I can only reproduce with those 2 prompts on |
Hm, now I'm unable to reproduce on the old Inquirer either. It was occurring on this prompt in |
This should now work properly. Not sure how it happens, but signals became |
On
@inquirer/[email protected]
When
ctrl-c
ing out of a prompt, the terminal cursor is left in broken state.Cannot reproduce this with old inquirer package. Have to open a new terminal to fix.
The text was updated successfully, but these errors were encountered: