[PR #15365] Detect likely Powerline fonts, add a special powerline preview #30619

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

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

State: closed
Merged: Yes


When we detect a font that has a glyph for U+E0B6, we will switch the preview connection text to contain a special powerline prompt. This will allow people to see how different settings might impact their real-world environment.

When we don't detect such support, we fall back to the CMD-style C:\> prompt.

Pros:

  • It's beautiful.

Cons:

  • More code

Risks:

  • U+E0B6 is part of the private use area, and fonts that have symbols there (such as Cirth as sub-allocated by the ConScript Unicode Registry) will result in something unexpected.
  • Actually, E0B6 isn't part of base powerline... but I think this specific set of characters looks too good to pass up.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15365 **State:** closed **Merged:** Yes --- When we detect a font that has a glyph for `U+E0B6`, we will switch the preview connection text to contain a special powerline prompt. This will allow people to see how different settings might impact their real-world environment. When we _don't_ detect such support, we fall back to the CMD-style `C:\>` prompt. Pros: - It's beautiful. Cons: - More code Risks: - `U+E0B6` is part of the private use area, and fonts that have symbols there (such as Cirth as sub-allocated by the ConScript Unicode Registry) will result in something unexpected. - Actually, `E0B6` isn't part of base powerline... but I think this specific set of characters looks too good to pass up.
claunia added the pull-request label 2026-01-31 09:41:53 +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#30619