1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00
wezterm/lua-api-crates
Wez Furlong 533e52c589 lua: make gui_window() reconcile workspace
reconciling causes gui windows to be created and allows for stuff like
this, that would otherwise fail because the gui window hadn't been
created yet.

```lua
local wezterm = require 'wezterm'

local mux = wezterm.mux

wezterm.on("gui-startup", function()
  local tab, pane, window = mux.spawn_window{}
  window:gui_window():set_inner_size(1200, 1200)
end)

return {
}
```
2022-07-06 18:52:14 -07:00
..
battery config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
filesystem config: split out lua functions into their own crates 2022-05-19 06:48:09 -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 deps: update 2022-06-12 20:17:48 -07:00
ssh-funcs config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
termwiz-funcs config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
window-funcs lua: reduce a bit of boilerplate around registering wezterm.submodule 2022-07-06 15:26:21 -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.