Share the macOS window host, resume sessions, and group Linux windows
This commit is contained in:
@@ -51,6 +51,18 @@ pub struct Workspace {
|
||||
transition_frame_pending: bool,
|
||||
_updates: Task<()>,
|
||||
}
|
||||
|
||||
impl Drop for Workspace {
|
||||
fn drop(&mut self) {
|
||||
// GPUI drops each window's root on close, including during app shutdown.
|
||||
if self.client.remote().is_some()
|
||||
&& let Err(error) = self.client.remember_remote_detach()
|
||||
{
|
||||
log::warn!("Could not remember detached SSH session: {error:#}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Workspace {
|
||||
fn begin_tab_rename(&mut self, window: &mut Window, cx: &mut Context<Self>) {
|
||||
let Some(tab) = self
|
||||
|
||||
Reference in New Issue
Block a user