[PR #15107] Introduce Microsoft.Terminal.UI and consolidate UI helpers #30425

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

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

State: closed
Merged: Yes


This pull request introduces the module Microsoft.Terminal.UI.dll, and moves into it the following things:

  • Any IDirectKeyListener
  • All XAML converter helpers from around the project
    • ... including IconPathConverter from TerminalSettingsModel
    • ... but not EmptyStringVisibilityConverter, which has died

It also adds a XAML Markup Extension named mtu:ResourceString, which will allow us to refer to string resources directly from XAML. It will allow us to remove all of the places in the code where we manually set resources on XAML controls.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15107 **State:** closed **Merged:** Yes --- This pull request introduces the module Microsoft.Terminal.UI.dll, and moves into it the following things: - Any `IDirectKeyListener` - All XAML converter helpers from around the project - ... including `IconPathConverter` from TerminalSettingsModel - ... but not `EmptyStringVisibilityConverter`, which has died It also adds a XAML Markup Extension named `mtu:ResourceString`, which will allow us to refer to string resources directly from XAML. It will allow us to remove all of the places in the code where we manually set resources on XAML controls.
claunia added the pull-request label 2026-01-31 09:40:45 +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#30425