Skip to content

Improve terminal symbol font fallbacks - #6

Merged
askac merged 1 commit into
mainfrom
fix/windows-font-fallback
Aug 17, 2026
Merged

Improve terminal symbol font fallbacks#6
askac merged 1 commit into
mainfrom
fix/windows-font-fallback

Conversation

@askac

@askac askac commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • add Cascadia Mono to the Windows terminal fallback chain so standard symbols missing from Consolas render in a monospaced font
  • migrate the previous Windows default font chain without overwriting custom font settings
  • add an optional Powerline symbol fallback in Appearance for prompt glyphs such as U+E0A0
  • vendor the 2,264-byte official PowerlineSymbols font with its MIT license, upstream commit, and SHA-256 provenance
  • apply the setting immediately to visible terminals and agent mirrors while keeping it off by default

Validation

  • tools/.venv_wsl/bin/python scripts/run_smoke_tests.py
  • tools/.venv_wsl/bin/python -m py_compile tests/agent_browser_smoke.py
  • tools/.venv_wsl/bin/python tests/agent_browser_smoke.py
  • verified PowerlineSymbols.otf SHA-256 and font coverage for U+E0A0-E0A2 and U+E0B0-E0B3
  • git diff --check

Compatibility

  • existing custom font settings remain unchanged
  • macOS default text fonts remain unchanged
  • the bundled Powerline font is loaded only when the optional fallback is enabled

@askac
askac merged commit 84c19ac into main Aug 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant