mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 22:33:52 +03:00
920ee853b3
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! |
||
---|---|---|
.. | ||
battery | ||
color-funcs | ||
filesystem | ||
json | ||
logging | ||
mux | ||
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.