[PR #4729] Convert TermControl to .xaml #25919

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

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

State: closed
Merged: Yes


This commit removes all of the custom UI initialization code in
TermControl and replaces it with a xaml file. Some dead or reundant code
was removed as part of this refactoring.

It also fixes two (quasi-related) issues:

  • The search box, on first launch, was offset by the scrollbar even if
    the scrollbar was invisible.
  • The scrollbar state wasn't hot-reloadable.

PR Checklist

  • Closes [a thing that's been hounding me since the beginning, but no real issue]

Validation Steps Performed

Launched, opened, closed, searched and TSF-inputted-into controls.

Fixes #4920

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4729 **State:** closed **Merged:** Yes --- This commit removes all of the custom UI initialization code in TermControl and replaces it with a xaml file. Some dead or reundant code was removed as part of this refactoring. It also fixes two (quasi-related) issues: * The search box, on first launch, was offset by the scrollbar even if the scrollbar was invisible. * The scrollbar state wasn't hot-reloadable. ## PR Checklist * [ ] Closes [a thing that's been hounding me since the beginning, but no real issue] ## Validation Steps Performed Launched, opened, closed, searched and TSF-inputted-into controls. Fixes #4920
claunia added the pull-request label 2026-01-31 09:12:37 +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#25919