Fixed exit with KeyboardInterrupt messes up terminal - #180
Open
zxcv1884 wants to merge 1 commit into
Open
Conversation
someone-cloud
added a commit
to someone-cloud/PyInquirer
that referenced
this pull request
Jul 22, 2026
List prompt (CITGuru#54, CITGuru#78, CITGuru#87, CITGuru#107, CITGuru#138, CITGuru#166, CITGuru#183, CITGuru#189): - Implement pageSize parameter for long lists - Fix disabled first choice being selectable - Add vim-style j/k navigation keys - Add mouse_support toggle option - Allow multiline messages via dynamic window height - Fix separator style not rendering in list types Checkbox prompt (CITGuru#46, CITGuru#107, CITGuru#138, CITGuru#161, CITGuru#197): - Fix validator not being called on submit (was a no-op) - Add vim-style j/k navigation keys - Add mouse_support toggle - Add Ctrl+A for select all (in addition to 'a' toggle) Input prompt (CITGuru#96, CITGuru#151, CITGuru#155, CITGuru#185): - Allow message as callable function (answers dict) - Convert numeric defaults to string automatically - Fix style propagation in prompt_toolkit Confirm prompt (CITGuru#48): - Add require_enter option for explicit confirmation General (CITGuru#180): - Reset terminal state on KeyboardInterrupt to prevent garbled output
|
Fixed in the revived fork. Fixed - KeyboardInterrupt no longer leaves the terminal in a garbled state. Terminal is properly reset on interrupt. Fixed in v1.0.6. You can install the fixed version: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See issue detail:
#120