Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: windows: ensure the input buffer is empty
Before initializing the input reader, we need to ensure that the console input buffer is empty, otherwise, we can get dangling events from previous sessions.
- Loading branch information