Update CSS and font handling for ghostty-web

- Remove xterm.js-specific CSS selectors (.xterm, .xterm-viewport, etc.)
- Add canvas-specific styles for ghostty-web renderer
- Add waitForFonts() to ensure fonts are loaded before fitting
- Keep same font stack (ui-monospace, SFMono-Regular, Fira Code, etc.)
- Font is passed to ghostty-web via fontFamily option
This commit is contained in:
GitHub Copilot
2026-01-28 00:58:50 +00:00
parent 5dbb91ca32
commit d406cc1fcb
3 changed files with 28 additions and 42 deletions
File diff suppressed because one or more lines are too long