window:effective_config()
¶
Since: Version 20210314-114017-04b7cedd
The functionality described in this section requires version 20210314-114017-04b7cedd of wezterm, or a more recent version.
Returns a lua table representing the effective configuration for the Window.
The table is in the same format as that used to specify the config in
the wezterm.lua
file, but represents the fully-populated state of the
configuration, including any CLI or per-window configuration overrides.
Note: changing the config table will NOT change the effective window config; it is just a copy of that information.
If you want to change the configuration in a window, look at set_config_overrides.
This example will log the configured font size when CTRL-SHIFT-E
is pressed: