-
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 WriteConsoleInputA conversion (#15672)
This commit inlines `EventsToUnicode` into `WriteConsoleInputAImpl` because soon we'll not use deques for events anymore and so the old code won't work. It cleans up the implementation because I intend to move all this code directly into `InputBuffer` to have a better and tighter control over how text gets converted. UTF-8 input for instance requires the storage of up to 3 input events and this code is not fit to handle that. It's also unmaintainable because our input handling code shouldn't be spread over a dozen files either. 😄 ## Validation Steps Performed * Unit and feature tests are ✅
- Loading branch information
Showing
2 changed files
with
106 additions
and
112 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