Add configurable terminal font setting - #1572
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
proper appearance system in the works so don't wanna add one-off settings like this until we have that in place |
What Changed
A new Terminal font setting added under Settings > General that lets users provide a custom CSS font-family stack for the terminal.
The setting is persisted in client settings, defaults to the existing terminal font stack, normalizes blank values back to that default, and applies live to open terminal instances without restarting them.
This is scoped to terminal font configuration only. It does not bundle fonts, validate installed fonts, or change fonts used elsewhere in the app.
Why
The terminal currently uses a fixed hardcoded font stack. That works for basic monospace rendering, but it makes it hard to use shells and prompt themes that rely on Nerd Fonts or other glyph-complete fonts, especially for zsh and oh-my-posh setups.
UI Changes
Before:
After:
Terminal with "FiraCode Nerd Font Mono", monospace

Screen.Recording.2026-03-30.at.1.35.14.PM-1.mov
Checklist
Note
Add configurable terminal font family setting to the General settings panel
terminalFontFamilyfield toClientSettingsSchemain settings.ts with trimming, blank fallback toDEFAULT_TERMINAL_FONT_FAMILY, and a 1024-char max.applyTerminalFontFamily, which refits and refreshes the terminal.terminalFontFamilywhen migrating from local storage.Macroscope summarized 16c45d1.