[PR #7768] When win32 is resizing the viewport, make sure Right > Left #26984

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

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

State: closed
Merged: Yes


Sometimes when we were sliding the viewport to fit inside the buffer, we
would end up with left > right.

That would cause us to crash down the line when rendering.

Fixes MSFT:28387423.
Fixes #7744.

Validation

Manual run through 100% repro test case.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/7768 **State:** closed **Merged:** Yes --- Sometimes when we were sliding the viewport to fit inside the buffer, we would end up with left > right. That would cause us to crash down the line when rendering. Fixes MSFT:28387423. Fixes #7744. ## Validation Manual run through 100% repro test case.
claunia added the pull-request label 2026-01-31 09:19:19 +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#26984