[PR #16313] Fix input buffering for A APIs #30892

Open
opened 2026-01-31 09:43:38 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This fixes an issue where character-wise reading of an input like "abc"
would return "a" to the caller, store "b" as a partial translation
(= wrong) and return "c" for the caller to store it for the next call.

Closes #16223
Closes #16299

Validation Steps Performed

  • ReadFile with a buffer size of 1 returns inputs character by
    character without dropping any inputs ✅
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16313 **State:** closed **Merged:** Yes --- This fixes an issue where character-wise reading of an input like "abc" would return "a" to the caller, store "b" as a partial translation (= wrong) and return "c" for the caller to store it for the next call. Closes #16223 Closes #16299 ## Validation Steps Performed * `ReadFile` with a buffer size of 1 returns inputs character by character without dropping any inputs ✅
claunia added the pull-request label 2026-01-31 09:43:38 +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#30892