mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
8e0f9947d2
```lua local wezterm = require 'wezterm' function user_callback_test(window, pane) print("user_callback_test()") wezterm.time.call_after(3, function() print("Hello again, later") end) end return { keys = { { mods = 'CTRL|ALT', key = 'u', action = wezterm.action_callback(user_callback_test) } } } ``` refs: https://github.com/wez/wezterm/issues/3026 |
||
---|---|---|
.. | ||
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.