local wez = require 'wezterm' return function ( cfg ) cfg.window_background_opacity = 1.0 if wez.target_triple:find 'windows' then cfg.window_decorations = 'RESIZE' else cfg.window_decorations = 'RESIZE|NONE' end cfg.use_resize_increments = true cfg.adjust_window_size_when_changing_font_size = false cfg.window_content_alignment = { horizontal = 'Center', vertical = 'Center', } cfg.window_padding = { left = 0.5, right = 0.5, top = 0, bottom = 0, } cfg.tab_max_width = 24 end