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
feat(gui): let thread and project pages show through the window
RoversX37dc534a8332
diff --git a/wezterm-gui/src/termwindow/project_root_view.rs b/wezterm-gui/src/termwindow/project_root_view.rsindex 8df4919e..91701eee 100644--- a/wezterm-gui/src/termwindow/project_root_view.rs+++ b/wezterm-gui/src/termwindow/project_root_view.rs@@ -202,16 +202,6 @@ impl ProjectRootView {self.last_ui_scale = ctx.scale();// The glide a notched wheel was given lives in the scroll state.self.scroll_animating = self.scroll.advance_animation(Instant::now());- ctx.draw_rect(- layers,- 0,- area.origin.x,- area.origin.y,- area.size.width,- area.size.height,- palette.window_bg,- )?;-let pad = ctx.px(PAD);let shell_w = (area.size.width - pad * 2.0).min(ctx.px(CONTENT_MAX_W))@@ -476,19 +466,6 @@ impl ProjectRootView {bx += w + button_gap;}- // Nothing here clips, so scrolled-away content would bleed into the- // window chrome above.- if self.scroll.offset > 0.0 && area.origin.y > 0.0 {- ctx.draw_rect(- layers,- 2,- area.origin.x,- 0.0,- area.size.width,- area.origin.y,- palette.sidebar_bg,- )?;- }if self.scroll.has_overflow() {draw_scrollbar(ctx,@@ -1053,6 +1030,11 @@ mod tests {}}+ #[test]+ fn a_page_leaves_its_ground_to_the_window() {+ assert!(view().host_paints_ground());+ }+fn view() -> ProjectRootView {ProjectRootView::new("thread-a".to_string(),diff --git a/wezterm-gui/src/termwindow/remote_thread_view.rs b/wezterm-gui/src/termwindow/remote_thread_view.rsindex 80dc9672..37f674a2 100644--- a/wezterm-gui/src/termwindow/remote_thread_view.rs+++ b/wezterm-gui/src/termwindow/remote_thread_view.rs@@ -125,16 +125,6 @@ impl RemoteThreadView {self.last_ui_scale = ctx.scale();// The glide a notched wheel was given lives in the scroll state.self.scroll_animating = self.scroll.advance_animation(Instant::now());- ctx.draw_rect(- layers,- 0,- area.origin.x,- area.origin.y,- area.size.width,- area.size.height,- palette.window_bg,- )?;-let pad = ctx.px(PAD);let shell_w = (area.size.width - pad * 2.0).min(ctx.px(CONTENT_MAX_W))@@ -233,21 +223,6 @@ impl RemoteThreadView {self.paint_phase_buttons(ctx, layers, font, palette, x, y, button_h)?;- // Nothing here can clip, so scrolled-away content would bleed into the- // window chrome above. Repaint that strip in the chrome colour; the- // tab bar / window buttons are drawn after content views and land on- // top of it again.- if self.scroll.offset > 0.0 && area.origin.y > 0.0 {- ctx.draw_rect(- layers,- 2,- area.origin.x,- 0.0,- area.size.width,- area.origin.y,- palette.sidebar_bg,- )?;- }if self.scroll.has_overflow() {draw_scrollbar(ctx,diff --git a/wezterm-gui/src/termwindow/thread_window.rs b/wezterm-gui/src/termwindow/thread_window.rsindex c1bffd5f..61bea56c 100644--- a/wezterm-gui/src/termwindow/thread_window.rs+++ b/wezterm-gui/src/termwindow/thread_window.rs@@ -1495,15 +1495,6 @@ impl ContentView for ThreadElsewhereView {_cursor_on: bool,) -> anyhow::Result<()> {self.widgets.clear();- ctx.draw_rect(- layers,- 0,- area.origin.x,- area.origin.y,- area.size.width,- area.size.height,- palette.window_bg,- )?;let center_x = area.origin.x + area.size.width / 2.0;let max_width = (area.size.width - ctx.px(PAD) * 2.0).max(0.0);