mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
The terminal tabs and inline terminal panel used xterm's default `monospace`, which lacks Nerd Font glyphs — so TUIs like yazi rendered box-drawing, Powerline symbols and file-type icons as tofu. Declare a `JetBrainsMono Nerd Font` family in pubspec and apply it via `TerminalStyle` (with a Cascadia Code / Fira Code / system-monospace fallback chain) to the `TerminalView` in both `terminal_page.dart` (tabs) and `inline_terminal_panel.dart` (mobile split view). The font binary (nerd-fonts v3.3.0) is bundled like RustDesk's other assets; `flutter/fetch_font.sh` can refresh it. Client-only; the server stays stock. |
||
|---|---|---|
| .. | ||
| common | ||
| desktop | ||
| mobile | ||
| models | ||
| native | ||
| plugin | ||
| utils | ||
| web | ||
| common.dart | ||
| consts.dart | ||
| main.dart | ||