fix: wezterm's chinese font on macOS

This commit is contained in:
Ryan Yin
2023-12-01 16:42:15 +08:00
parent a1120fd930
commit 26dc7bb149
2 changed files with 15 additions and 1 deletions

View File

@@ -49,7 +49,15 @@
-- This is where you actually apply your config choices
config.color_scheme = "Catppuccin Mocha"
config.font = wezterm.font("JetBrainsMono Nerd Font")
config.font = wezterm.font_with_fallback {
"JetBrainsMono Nerd Font",
"FiraCode Nerd Font",
-- To avoid 'Chinese characters displayed as variant (Japanese) glyphs'
"Source Han Sans SC",
"Source Han Sans TC"
}
config.hide_tab_bar_if_only_one_tab = true
config.scrollback_lines = 10000
config.enable_scroll_bar = true