1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 22:33:52 +03:00
wezterm/lua-api-crates
Wez Furlong 920ee853b3
mux: switch RefCell to RwLock internally
This is a step towards making it Send+Sync.

I'm a little cagey about this in the long term, as there are some mux
operations that may technically require multiple fields to be locked for
their duration: allowing free-threaded access may introduce some subtle
(or not so subtle!) interleaving conditions where the overall mux state
is not yet consistent.

I'm thinking of prune_dead_windows kicking in while the mux is in the
middle of being manipulated.

I did try an initial pass of just moving everything under one lock, but
there is already quite a lot of mixed read/write access to different
aspects of the mux.

We'll see what bubbles up later!
2022-12-19 11:52:38 -07:00
..
battery config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
color-funcs colors: add base16 indexed colors 16-21 like base16-shell sets 2022-09-08 06:51:01 -07:00
filesystem Fix compiler warning 2022-11-05 09:05:35 -07:00
json json: fix visited hash set 2022-07-25 07:25:41 -07:00
logging config: split out lua functions into their own crates 2022-05-19 06:48:09 -07:00
mux mux: switch RefCell to RwLock internally 2022-12-19 11:52:38 -07:00
procinfo-funcs lua: add wezterm.procinfo module 2022-07-16 08:49:58 -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 deps: upgrade finl_unicode to 1.2 2022-10-23 12:07:00 -07:00
time-funcs lua: add wezterm.time.call_after and wezterm.reload_configuration 2022-07-18 07:37:41 -07:00
window-funcs macos: report max_fps in ScreenInfo 2022-08-19 21:02:51 -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.