[PR #15671] Clean up InputBuffer coalescing and preprocessing #30697

Closed
opened 2026-01-31 09:42:25 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15671

State: closed
Merged: Yes


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 fccc7410 in 2018.

Closes #809

Validation Steps Performed

  • Unit and feature tests are
  • Ctrl-S pauses output 🎉
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15671 **State:** closed **Merged:** Yes --- 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 fccc7410 in 2018. Closes #809 ## Validation Steps Performed * Unit and feature tests are ✅ * Ctrl-S pauses output 🎉
claunia added the pull-request label 2026-01-31 09:42:25 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30697