Skip to content

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.

Align secondary tab height with primary tabs

RoversXd82710f4e9fd
diff --git a/wezterm-gui/src/termwindow/ui/mod.rs b/wezterm-gui/src/termwindow/ui/mod.rs
index aa67dfd3..87972e1d 100644
--- a/wezterm-gui/src/termwindow/ui/mod.rs
+++ b/wezterm-gui/src/termwindow/ui/mod.rs
@@ -12,10 +12,10 @@ pub use right_sidebar::{right_sidebar_file_preview_width, right_sidebar_width_fo
pub use sidebar::workspace_sidebar_width_for_metrics;
pub fn pane_nav_bar_height_for_metrics(render_metrics: RenderMetrics) -> usize {
- // Keep the bar proportional to the DPI-scaled UI font. Fixed physical
- // pixel clamps made it twice as tall in points on non-Retina displays.
+ // Match the primary tab content height so both tab levels keep the same
+ // vertical rhythm on every monitor DPI.
let cell_height = render_metrics.cell_size.height.max(1) as usize;
- (cell_height * 11 / 5).max(cell_height)
+ cell_height * 2
}
pub fn terminal_title_for_display(title: &str) -> &str {