Files
LLeMbas-TTY/docs/config/lua/wezterm/reload_configuration.md
T
Wez Furlong dd327617b1 lua: add wezterm.time.call_after and wezterm.reload_configuration
These allow setting up some basic timers and constructing time-dependent
config files.

Needs to be used respsonsibly!
2022-07-18 07:37:41 -07:00

348 B

wezterm.reload_configuration()

Since: nightly builds only

Immediately causes the configuration to be reloaded and re-applied.

If you call this at the file scope in your config you will create an infinite loop that renders wezterm unresponsive, so don't do that!

The intent is for this to be used from an event or timer callback function.