[PR #17287] Remove some unused/obsolete XtermEngine code #31180

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

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

State: closed
Merged: Yes


Summary of the Pull Request

The dirty view calculation in the XtermEngine::StartPaint method was
originally used to detect a full frame paint that would require a clear
screen, but that code was removed as part of PR #4741, making this
calculation obsolete.

The performedSoftWrap variable in the XtermEngine::_MoveCursor
method was assumedly a remanent of some WIP code that was mistakenly
committed in PR #5181. The variable was never actually used.

Validation Steps Performed

All the unit tests still pass and nothing seems obviously broken in
manual testing.

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17287 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request The dirty view calculation in the `XtermEngine::StartPaint` method was originally used to detect a full frame paint that would require a clear screen, but that code was removed as part of PR #4741, making this calculation obsolete. The `performedSoftWrap` variable in the `XtermEngine::_MoveCursor` method was assumedly a remanent of some WIP code that was mistakenly committed in PR #5181. The variable was never actually used. ## Validation Steps Performed All the unit tests still pass and nothing seems obviously broken in manual testing. ## PR Checklist - [x] Closes #17280
claunia added the pull-request label 2026-01-31 09:45:36 +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#31180