Config
struct¶
The return
statement at the end of your wezterm.lua
file returns
a table that is interpreted as the internal Config
struct type.
This section documents the various available fields in the config struct.
At the time of writing, it is not a complete list!
- adjust_window_size_when_changing_font_size
- allow_square_glyphs_to_overflow_width
- allow_win32_input_mode
- alternate_buffer_wheel_scroll_speed
- animation_fps
- anti_alias_custom_block_glyphs
- audible_bell
- automatically_reload_config
- background
- bold_brightens_ansi_colors
- bypass_mouse_reporting_modifiers
- canonicalize_pasted_newlines
- cell_width
- char_select_bg_color
- char_select_fg_color
- char_select_font_size
- check_for_updates
- clean_exit_codes
- color_schemes
- colors
- command_palette_bg_color
- command_palette_fg_color
- command_palette_font_size
- command_palette_rows
- cursor_blink_ease_in
- cursor_blink_ease_out
- cursor_blink_rate
- cursor_thickness
- custom_block_glyphs
- daemon_options
- debug_key_events
- default_cursor_style
- default_cwd
- default_domain
- default_gui_startup_args
- default_mux_server_domain
- default_prog
- default_ssh_auth_sock
- default_workspace
- detect_password_input
- disable_default_mouse_bindings
- disable_default_quick_select_patterns
- display_pixel_geometry
- dpi
- enable_csi_u_key_encoding
- enable_kitty_keyboard
- enable_scroll_bar
- enable_tab_bar
- enable_wayland
- exit_behavior
- exit_behavior_messaging
- font
- font_antialias
- font_dirs
- font_hinting
- font_locator
- font_rasterizer
- font_rules
- font_shaper
- font_size
- force_reverse_video_cursor
- foreground_text_hsb
- freetype_interpreter_version
- freetype_load_flags
- freetype_load_target
- freetype_pcf_long_family_names
- freetype_render_target
- front_end
- harfbuzz_features
- hide_mouse_cursor_when_typing
- hide_tab_bar_if_only_one_tab
- hyperlink_rules
- ime_preedit_rendering
- initial_cols
- initial_rows
- integrated_title_button_alignment
- integrated_title_button_color
- integrated_title_button_style
- integrated_title_buttons
- key_map_preference
- key_tables
- launch_menu
- line_height
- log_unknown_escape_sequences
- macos_forward_to_ime_modifier_mask
- macos_window_background_blur
- max_fps
- min_scroll_bar_height
- mouse_wheel_scrolls_tabs
- mux_enable_ssh_agent
- mux_env_remove
- native_macos_fullscreen_mode
- normalize_output_to_unicode_nfc
- notification_handling
- pane_focus_follows_mouse
- prefer_egl
- prefer_to_spawn_tabs
- quick_select_alphabet
- quick_select_patterns
- quit_when_all_windows_are_closed
- quote_dropped_files
- scroll_to_bottom_on_input
- scrollback_lines
- selection_word_boundary
- serial_ports
- set_environment_variables
- show_close_tab_button_in_tabs
- show_new_tab_button_in_tab_bar
- show_tab_index_in_tab_bar
- show_tabs_in_tab_bar
- show_update_window
- skip_close_confirmation_for_processes_named
- ssh_backend
- ssh_domains
- status_update_interval
- strikethrough_position
- swallow_mouse_click_on_pane_focus
- swallow_mouse_click_on_window_focus
- swap_backspace_and_delete
- switch_to_last_active_tab_when_closing_tab
- tab_and_split_indices_are_zero_based
- tab_bar_at_bottom
- tab_bar_style
- tab_max_width
- term
- text_blink_ease_in
- text_blink_ease_out
- text_blink_rapid_ease_in
- text_blink_rapid_ease_out
- text_blink_rate
- text_blink_rate_rapid
- tiling_desktop_environments
- tls_clients
- tls_servers
- treat_east_asian_ambiguous_width_as_wide
- treat_left_ctrlalt_as_altgr
- ui_key_cap_rendering
- ulimit_nofile
- ulimit_nproc
- underline_position
- underline_thickness
- unicode_version
- unix_domains
- unzoom_on_switch_pane
- use_cap_height_to_scale_fallback_fonts
- use_fancy_tab_bar
- use_ime
- use_resize_increments
- visual_bell
- warn_about_missing_glyphs
- webgpu_force_fallback_adapter
- webgpu_power_preference
- webgpu_preferred_adapter
- win32_acrylic_accent_color
- win32_system_backdrop
- window_background_gradient
- window_close_confirmation
- window_decorations
- window_frame
- window_padding
- wsl_domains
- xim_im_name