[PR #12719] Don't reflow the alt buffer on resize #29209

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

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

State: closed
Merged: Yes


VTE only rewraps the contents of the (normal screen + its scrollback
buffer) on a resize event. It doesn't rewrap the contents of the
alternate screen. The alternate screen is used by applications which
repaint it after a resize event. So, it doesn't really matter. However,
in that short time window, after resizing the terminal but before the
application catches up, this prevents vertical lines

It was really hard to get a gif of this where it happened and was small
enough to upload to GH, but there is one in #12719.

There's something in this branch that fixes a scrolling issue in the
parent PR. I'm partially filing this so I can look at the diffs here and
try and figure out what that is. I kinda want to just take all 3 alt
buffer PRs as a single atomic unit, but splitting them up made sense
from a review standpoint.

Closes #3493

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12719 **State:** closed **Merged:** Yes --- VTE only rewraps the contents of the (normal screen + its scrollback buffer) on a resize event. It doesn't rewrap the contents of the alternate screen. The alternate screen is used by applications which repaint it after a resize event. So, it doesn't really matter. However, in that short time window, after resizing the terminal but before the application catches up, this prevents vertical lines It was really hard to get a gif of this where it happened and was small enough to upload to GH, but there is one in #12719. There's something in this branch that fixes a scrolling issue in the parent PR. I'm partially filing this so I can look at the diffs here and try and figure out what that is. I kinda want to just take all 3 alt buffer PRs as a single atomic unit, but splitting them up made sense from a review standpoint. Closes #3493
claunia added the pull-request label 2026-01-31 09:33:30 +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#29209