mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 23:04:49 +03:00
5cc29d1d8c
This has been a commonly requested feature in the past week, and it's a reasonable one. The mux server inherited the close-when-done behavior from when it used to be an alternate front-end in the same executable as the gui, but it doesn't need to be that way any more. We also need to accomodate that case in the client: if the newly attached domain doesn't result in any panes being imported, we need to spawn a new command there in order to keep the client alive. The pre-existing check for whether the mux was empty had false positives because the local mux may still reference the pane from the connection UI, which would finish closing out shortly after we had decided not to spawn anything, and then the client would close. refs: https://github.com/wez/wezterm/issues/631 refs: https://github.com/wez/wezterm/issues/507 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |