[PR #15195] Add a warning when a proportional font is selected #30485

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Add an infobar warning when a non-monospaced font is selected.

References and Relevant Issues

#13389

Detailed Description of the Pull Request / Additional comments

I initially had the IsOpen property of the infobar bound to the ShowAllFonts checkbox property. However, I felt we could do better by adding a property for it since there was already a method defined to inspect whether the selected font was in the MonoSpaceFontList.

Validation Steps Performed

Warning shows up when a non-monospaced font is selected either globally or on individual profiles. All existing tests continue to pass.
image

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15195 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Add an infobar warning when a non-monospaced font is selected. ## References and Relevant Issues #13389 ## Detailed Description of the Pull Request / Additional comments I initially had the `IsOpen` property of the infobar bound to the `ShowAllFonts` checkbox property. However, I felt we could do better by adding a property for it since there was already a method defined to inspect whether the selected font was in the `MonoSpaceFontList`. ## Validation Steps Performed Warning shows up when a non-monospaced font is selected either globally or on individual profiles. All existing tests continue to pass. <img width="868" alt="image" src="https://user-images.githubusercontent.com/2086722/232594214-cd42397b-ce9d-499c-aa73-3feaa45e850e.png"> ## PR Checklist - [x] Closes #13389 - [x] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:41:06 +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#30485