You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(terminal): allow themes to set the terminal font family #3236
I was trying to make bb Monokai use my installed BerkeleyMono Nerd Font Mono in the integrated terminal. The palette sets terminal colors, but it cannot supply the font family to the terminal renderer.
What happens today
Source inspection on main at 06aeaa994942ae7527dc49d2268c1f801e8542a0 confirms that ThreadTerminalView passes a fixed font stack to xterm. Live visual reproduction is unverified. The local CLI reports bb 0.42.1 on macOS 26.5.2.
We should let palettes supply a terminal font-family token, for example:
--terminal-font-family:"BerkeleyMono Nerd Font Mono","Berkeley Mono", monospace;
Read it into xterm's fontFamily at construction and when the active theme changes. Preserve the current default stack when the token is absent, and refit the terminal after a font change so cell dimensions and PTY sizing stay aligned. It should work with WebGL and the fallback renderer.
Context and alternatives
Related: #2197 covers independent interface, chat, and code font settings. This request concerns the integrated terminal and palette control of its renderer.
The installed font's name table confirms BerkeleyMono Nerd Font Mono, matching Monokai's existing CSS override. Changing that CSS family name alone would not change the constructor option above.
Checks
I searched open and closed issues for the same request, including terminal font, xterm font, Berkeley, Monokai, and font-family searches.
If an agent wrote this, the body ends with > AGENT GENERATED.
Activity
bb-slop-cop commentedon Sep 8, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotuiThis is a feature request, so bug reproduction, report, and fix steps were skipped.
Allow themes to set the terminal font family (get-bb#3236)
Allow themes to set the terminal font family (get-bb#3236)
Allow themes to set the terminal font family (get-bb#3236) (get-bb#3479)