1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00
wezterm/wezterm-mux-server
Wez Furlong 02eb0b4294
mux: rename Mux::get() -> try_get(), add "infallible" Mux::get()
This allows removing a bunch of unwrap/expect calls.

However, my primary motive was to replace the cases where we used
Mux::get() == None to indicate that we were not on the main thread.

A separate API has been added to test for that explicitly rather than
implicitly.
2022-12-19 11:55:35 -07:00
..
src mux: rename Mux::get() -> try_get(), add "infallible" Mux::get() 2022-12-19 11:55:35 -07:00
Cargo.toml deps: update to clap 4 2022-10-04 08:55:31 -07:00