-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up InputBuffer coalescing and preprocessing (#15671)
This reverts a number of changes to input handling to how it used to be in conhost v1. It merges the input event coalescing logic into a single function and inlines the console suspension event handling, because soon these functions will receive `std::span` arguments which cannot be preprocessed anymore, unlike a `std::deque`. It also adds back support for Ctrl-S being an alias for VK_PAUSE which was lost in commit fccc741 in 2018. Closes #809 ## Validation Steps Performed * Unit and feature tests are ✅ * Ctrl-S pauses output 🎉
- Loading branch information
Showing
3 changed files
with
74 additions
and
175 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
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
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