[PR #17668] Fix cooked read reflow under ConPTY #31317

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

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

State: closed
Merged: Yes


This delays the CSI J until we know the new origin of the prompt.
That way it's at the right (reflowed) position.

Validation Steps Performed

  • conhost
    • Print a ton of text
    • Write a prompt of a hundred chars
    • Resize the window very narrow / wide
    • Works
  • Windows Terminal
    • Write a prompt of a hundred chars
    • Resize the window very narrow / wide
    • Works
**Original Pull Request:** https://github.com/microsoft/terminal/pull/17668 **State:** closed **Merged:** Yes --- This delays the CSI J until we know the new origin of the prompt. That way it's at the right (reflowed) position. ## Validation Steps Performed * conhost * Print a ton of text * Write a prompt of a hundred chars * Resize the window very narrow / wide * Works ✅ * Windows Terminal * Write a prompt of a hundred chars * Resize the window very narrow / wide * Works ✅
claunia added the pull-request label 2026-01-31 09:46:32 +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#31317