mirror of
https://github.com/wez/wezterm.git
synced 2024-12-03 19:53:40 +03:00
8755e731d3
Fixes this: ``` > wezterm.GLOBAL.foo = {"bar", "baz"} > wezterm.GLOBAL.foo [ "bar", "baz", ] > #wezterm.GLOBAL.foo runtime error: [string "repl"]:1: attempt to get length of a userdata value (field 'foo') stack traceback: [string "repl"]:1: in main chunk > ``` and allows this: ``` > for k, v in pairs(wezterm.GLOBAL.foo) do print(k, v) ; end ``` |
||
---|---|---|
.. | ||
battery | ||
color-funcs | ||
filesystem | ||
json | ||
logging | ||
mux | ||
plugin | ||
procinfo-funcs | ||
share-data | ||
spawn-funcs | ||
ssh-funcs | ||
termwiz-funcs | ||
time-funcs | ||
window-funcs | ||
README.md |
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.