mirror of
https://github.com/wez/wezterm.git
synced 2024-12-01 00:35:46 +03:00
e9f1297b45
Finally getting around to fixing this usability wart: this commit changes the behavior of Window closing so that you can close a window containing multiplexer panes without prompting and without killing off those panes. This is achieved through some plumbing: * The mux can now advise Domains about an impending window closure, giving them the opportunity to "do things" in readiness. * The mux client domain informs the container ClientPane instances to ignore the next Pane::kill call, which would otherwise inform the mux server to kill the remote pane * Pane:can_close_without_prompting now requires a CloseReason. * ClientPane's can_close_without_prompting impl allows Window closing without prompting on the assumption that the ignore-next-kill hack above is working refs: #848 refs: #917 refs: #1224 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |