fix bold and italic font render
This commit is contained in:
parent
82b170afa7
commit
9f3ec461c4
2 changed files with 7 additions and 4 deletions
|
|
@ -56,6 +56,9 @@ in
|
||||||
"Noto Sans CJK TC" # Traditional Chinese fallback
|
"Noto Sans CJK TC" # Traditional Chinese fallback
|
||||||
"Source Han Sans" # Alternative CJK 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;
|
font-size = cfg.fontSize;
|
||||||
|
|
||||||
# Gruvbox Dark Theme
|
# Gruvbox Dark Theme
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@
|
||||||
baseIndex = 1; # Start windows and panes at 1, not 0
|
baseIndex = 1; # Start windows and panes at 1, not 0
|
||||||
mouse = true; # Enable mouse support
|
mouse = true; # Enable mouse support
|
||||||
keyMode = "vi"; # Use vi key bindings in copy mode
|
keyMode = "vi"; # Use vi key bindings in copy mode
|
||||||
terminal = "screen-256color"; # Force 256 color support
|
terminal = "tmux-256color";
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Terminal settings
|
# Terminal settings for true color and italic support
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set -ga terminal-overrides ",xterm-256color:Tc"
|
set -ga terminal-overrides ",xterm-256color:Tc,xterm-256color:sitm=\\E[3m:ritm=\\E[23m"
|
||||||
|
|
||||||
# Enable OSC-52 clipboard integration (works with Ghostty)
|
# Enable OSC-52 clipboard integration (works with Ghostty)
|
||||||
set -g set-clipboard on
|
set -g set-clipboard on
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue