catppuccin / wezterm

:shell: Soothing pastel theme for WezTerm
MIT License
229 stars 4 forks source link

configure wrong apperance after upgrade wezterm(homebrew) #14

Open cxwx opened 5 months ago

cxwx commented 5 months ago

configure as the method in README.md

local wezterm = require "wezterm"

function scheme_for_appearance(appearance)
  if appearance:find "Dark" then
    return "Catppuccin Mocha"
  else
    return "Catppuccin Latte"
  end
end

return {
  -- ...your existing config
  color_scheme = scheme_for_appearance(wezterm.gui.get_appearance()),
}

when opening new tab is fine, but when opening new window, it is not correct after upgrade the lastest homebrew wezterm