-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consume all input during extract sequence (#4882)
## Change When extracting a sequence, consume all (up to 1KB really) input even if it doesn't start with an escape character. This was spurred by an issue where the `peek` call was not returning (waiting for input). Pressing Enter broke it out of that wait, but other input was now at the front and blocked future attempts to extract the sequence. The best solution to this would be to move all input handling to its own dedicated thread, but that is a much larger change.
- Loading branch information
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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