A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.
Rust agentagent-orchestrationaiai-agentsclaude-codecodexcoding-agentlinuxmacosmultiplayermultiplexerrustterminalterminal-emulatorterminal-multiplexertmuxtuiweztermwindows
wezterm-gui: delete the Spaces the host minted, don't just hide them
RoversX4cae6da07bbb
diff --git a/wezterm-gui/src/workspace_threads.rs b/wezterm-gui/src/workspace_threads.rsindex ab04e225..2856dda7 100644--- a/wezterm-gui/src/workspace_threads.rs+++ b/wezterm-gui/src/workspace_threads.rs@@ -4444,6 +4444,16 @@ pub fn ingest_remote_tree(domain_name: &str, tree: codec::ThinkTermTree) {if !dead.is_empty() {log::info!("dropping {} Space(s) the host minted without the desktop: {dead:?}", dead.len());strip_hidden_spaces(&mut tree_for_store, &dead);+ // Hidden here alone, the rows stayed on the host for good, and+ // every browser reading the host's tree showed a second+ // "Default" beside the desktop's. Deleting them on the host is+ // safe by construction: `dead` holds only Spaces the host minted+ // for a landing, holding nothing anyone made and no live window.+ let ops = dead+ .iter()+ .map(|space_id| codec::TreeOp::DeleteSpace { space_id: space_id.clone() })+ .collect();+ submit_tree_ops(domain_name.to_string(), ops);}}let mut store = THREAD_STORE.lock();