Skip to content

fix(terminal): load Nerd Font only when selected - #70

Merged
ZacharyZcR merged 1 commit into
Termix-SSH:dev-1.5.0from
ZacharyZcR:fix/load-terminal-font-on-demand
Aug 28, 2026
Merged

fix(terminal): load Nerd Font only when selected#70
ZacharyZcR merged 1 commit into
Termix-SSH:dev-1.5.0from
ZacharyZcR:fix/load-terminal-font-on-demand

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • separate cached xterm assets from the bundled Nerd Font
  • read and encode the 2.8 MB font only when the effective terminal font selects it
  • omit the embedded font face from WebView HTML for all other fonts

Validation

  • npx eslint app/tabs/sessions/terminal/loadXtermAssets.ts app/tabs/sessions/terminal/Terminal.tsx (existing Terminal warnings only)
  • npx tsc --noEmit
  • git diff --check

@ZacharyZcR
ZacharyZcR merged commit 1aae1ab into Termix-SSH:dev-1.5.0 Aug 28, 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