[PR #17576] Fix cursor inheritance #31279

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

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

State: closed
Merged: Yes


#17574 had 2 bugs, which I failed to notice because I didn't test
the code again after fixing the WaitUntilDSR boolean expression:

  • The VtInputThread needs to be running in order
    for us to see any VT input get parsed.
    • Consequentially, the console lock must be suspended while we wait.
  • Since WaitUntilDSR didn't detect timeouts it would loop forever.
    This wasn't obvious before, because it wouldn't loop at all. (lol)
**Original Pull Request:** https://github.com/microsoft/terminal/pull/17576 **State:** closed **Merged:** Yes --- #17574 had 2 bugs, which I failed to notice because I didn't test the code again after fixing the `WaitUntilDSR` boolean expression: * The `VtInputThread` needs to be running in order for us to see any VT input get parsed. * Consequentially, the console lock must be suspended while we wait. * Since `WaitUntilDSR` didn't detect timeouts it would loop forever. This wasn't obvious before, because it wouldn't loop at all. (lol)
claunia added the pull-request label 2026-01-31 09:46:17 +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#31279