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

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10895
Author: @Don-Vito
Created: 8/8/2021
Status: Merged
Merged: 8/9/2021
Merged by: @undefined

Base: mainHead: 10857-do-not-redraw-same-size


📝 Commits (1)

  • a748aad Prevent redraw upon resize if new size is equal to old

📊 Changes

1 file changed (+12 additions, -5 deletions)

View changed files

📝 src/cascadia/TerminalControl/ControlCore.cpp (+12 -5)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10895 **Author:** [@Don-Vito](https://github.com/Don-Vito) **Created:** 8/8/2021 **Status:** ✅ Merged **Merged:** 8/9/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `10857-do-not-redraw-same-size` --- ### 📝 Commits (1) - [`a748aad`](https://github.com/microsoft/terminal/commit/a748aad3787a187145134e02a3c68651d58c03f9) Prevent redraw upon resize if new size is equal to old ### 📊 Changes **1 file changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/ControlCore.cpp` (+12 -5) </details> ### 📄 Description ## 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:27: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#28287