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
Shape TUI graphics clusters per cell in the main view
RoversXe983f7af4b82
diff --git a/wezterm-gui/src/termwindow/render/screen_line.rs b/wezterm-gui/src/termwindow/render/screen_line.rsindex 3d5efb7b..441cbb8e 100644--- a/wezterm-gui/src/termwindow/render/screen_line.rs+++ b/wezterm-gui/src/termwindow/render/screen_line.rs@@ -872,7 +872,9 @@ impl crate::TermWindow {let style_params = last_style.as_ref().expect("we just set it up").clone();- let glyph_info = if params.simple_shaping {+ let glyph_info = if params.simple_shaping+ || cluster_is_tui_graphics(&cluster.text)+ {self.cached_cluster_shape_by_cell(style_params.style,&cluster,@@ -933,3 +935,24 @@ impl crate::TermWindow {Ok((shaped, invalidate_on_hover_change))}}++/// True when the cluster is TUI graphics: every char is a box-drawing,+/// block, geometric, braille or powerline/private-use codepoint (spaces+/// allowed, at least one graphic required). These never ligate or+/// context-shape, so per-cell shaping is lossless -- and busy TUIs+/// regenerate such runs with fresh text every frame, which makes the+/// whole-run shape-cache key a permanent miss no matter the cache size.+/// Routing them through the per-cell path caches each glyph once.+fn cluster_is_tui_graphics(text: &str) -> bool {+ let mut saw_graphic = false;+ for c in text.chars() {+ match c {+ ' ' => {}+ '\u{2500}'..='\u{25FF}' | '\u{2800}'..='\u{28FF}' | '\u{E000}'..='\u{F8FF}' => {+ saw_graphic = true;+ }+ _ => return false,+ }+ }+ saw_graphic+}