mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
1fd53d4a5d
user vars were stubbed out. This commit adds storage for them in the mux client and adds a new notification that publishes each var as it is changed. That differential stream is applied to the storage in the mux client when it is received. ```lua local wezterm = require 'wezterm' wezterm.on("update-right-status", function(window, pane) local woot = pane:get_user_vars().woot window:set_right_status(tostring(woot)) end); return { unix_domains = { {name="unix"}, }, } ``` then running: * `wezterm connect unix` * in that session: `printf "\033]1337;SetUserVar=%s=%s\007" woot `echo -n nice | base64`` causes `nice` to show in the status area. refs: #1528 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |