[PR #10895] Prevent redraw upon resize if new size is equal to old #28292

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Do not invoke terminal resize logic if view port dimensions didn't change

PR Checklist

Detailed Description of the Pull Request / Additional comments

Short-circuit ControlCore::_doResizeUnderLock if the dimensions of the
required view port are equal to the dimensions of the current view port

**Original Pull Request:** https://github.com/microsoft/terminal/pull/10895 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Do not invoke terminal resize logic if view port dimensions didn't change ## PR Checklist * [x] Closes #10857 * [x] CLA signed. * [ ] Tests added/passed * [ ] Documentation updated. * [ ] Schema updated. * [ ] I've discussed this with core contributors already. ## Detailed Description of the Pull Request / Additional comments Short-circuit `ControlCore::_doResizeUnderLock` if the dimensions of the required view port are equal to the dimensions of the current view port
claunia added the pull-request label 2026-01-31 09:27:34 +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#28292