fix bold and italic font render

This commit is contained in:
Yan Lin 2025-12-03 15:45:12 +01:00
parent 82b170afa7
commit 9f3ec461c4
2 changed files with 7 additions and 4 deletions

View file

@ -56,6 +56,9 @@ in
"Noto Sans CJK TC" # Traditional Chinese fallback
"Source Han Sans" # Alternative CJK fallback
];
font-family-bold = "JetBrainsMono NFM Bold";
font-family-italic = "JetBrainsMono NFM Italic";
font-family-bold-italic = "JetBrainsMono NFM Bold Italic";
font-size = cfg.fontSize;
# Gruvbox Dark Theme

View file

@ -7,12 +7,12 @@
baseIndex = 1; # Start windows and panes at 1, not 0
mouse = true; # Enable mouse support
keyMode = "vi"; # Use vi key bindings in copy mode
terminal = "screen-256color"; # Force 256 color support
terminal = "tmux-256color";
extraConfig = ''
# Terminal settings
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
# Terminal settings for true color and italic support
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc,xterm-256color:sitm=\\E[3m:ritm=\\E[23m"
# Enable OSC-52 clipboard integration (works with Ghostty)
set -g set-clipboard on