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
style(gui): lighter, smaller capsule type with an ellipsis for long names
RoversX2fdf155e3d50
diff --git a/wezterm-gui/src/termwindow/live_overview.rs b/wezterm-gui/src/termwindow/live_overview.rsindex 73e2c3e5..ea00f369 100644--- a/wezterm-gui/src/termwindow/live_overview.rs+++ b/wezterm-gui/src/termwindow/live_overview.rs@@ -1871,7 +1871,14 @@ impl LiveOverviewView {let icon_width = pad * 2.0 + icon;let title_pad = ctx.px(CAPSULE_TITLE_PAD);- let title_text_width = title_ctx.measure_text_width(title_font, &card.title);+ // A long thread name is shortened with an ellipsis to what the+ // capsule can hold once the other sections have their room; the+ // subtitle follows the same limit.+ let title_room = (max_width * 0.6).max(ctx.px(80.0));+ let title_text = title_ctx.text_with_ellipsis(title_font, &card.title, title_room);+ let subtitle =+ subtitle.map(|text| sub_ctx.text_with_ellipsis(sub_font, &text, title_room));+ let title_text_width = title_ctx.measure_text_width(title_font, &title_text);let sub_text_width = subtitle.as_deref().map_or(0.0, |text| sub_ctx.measure_text_width(sub_font, text));@@ -2031,7 +2038,7 @@ impl LiveOverviewView {title_font,cursor + title_pad + (inner - shown) / 2.0,title_y,- &card.title,+ &title_text,colors.capsule_text.mul_alpha(alpha),inner,)?;diff --git a/wezterm-gui/src/termwindow/render/paint.rs b/wezterm-gui/src/termwindow/render/paint.rsindex baf10500..cdbdd071 100644--- a/wezterm-gui/src/termwindow/render/paint.rs+++ b/wezterm-gui/src/termwindow/render/paint.rs@@ -1784,11 +1784,13 @@ impl crate::TermWindow {// A card names a thread in a capsule the size of a control,// not a heading: a shade under the pane header size, and a// caption a step below that in the same family.- self.fonts.title_font_with_size(- (crate::native_settings::pane_header_font_size() * 0.66).max(8.0),+ self.fonts.title_font_with_size_and_weight(+ (crate::native_settings::pane_header_font_size() * 0.58).max(8.0),+ 600,)?,- self.fonts.title_font_with_size(- (crate::native_settings::pane_header_font_size() * 0.56).max(7.5),+ self.fonts.title_font_with_size_and_weight(+ (crate::native_settings::pane_header_font_size() * 0.5).max(7.5),+ 500,)?,),};