1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 13:52:55 +03:00
wezterm/lua-api-crates
Wez Furlong dba7932e3e add wezterm.gui.get_appearance to retrieve dark mode
This simplifies the "change scheme based on dark mode" example
a lot.  This was previously impossible to do because we didn't
have a lua module associated with the gui until recently, so
the only way to reference a gui-related object was via an
event callback.

refs: https://github.com/wez/wezterm/issues/2258
2022-07-14 16:46:18 -07:00
..
battery config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
color-funcs color schemes: add version metadata 2022-07-14 08:45:29 -07:00
filesystem config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
json add wezterm.json_parse and wezterm.json_encode 2022-07-10 09:30:54 -07:00
logging config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
mux lua: make gui_window() reconcile workspace 2022-07-06 18:52:14 -07:00
share-data lua: add wezterm.GLOBAL 2022-06-18 21:31:53 -07:00
spawn-funcs ensure that we spawn open calls on a background thread 2022-07-11 08:03:37 -07:00
ssh-funcs config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
termwiz-funcs wezterm.format: accept "ResetAttributes" to reset attributes 2022-07-09 16:19:30 -07:00
window-funcs add wezterm.gui.get_appearance to retrieve dark mode 2022-07-14 16:46:18 -07:00
README.md config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00

The crates in this directory provide modules and functions to wezterm's lua config file and interface.

They are registered into the lua config via env-bootstrap.

It is advantageous to build times to have multiple, smaller, crates.