the runtime your coding agents live on
Rust agentagent-orchestrationaiai-agentsclaude-codeclicodexcoding-agentsdeveloper-toolsdevtoolsmultiplexerrustterminalterminal-multiplexerterminal-uitmuxtuiworkspace-manager
fix: use active pane color for border intersections (#742)
Cullen569c33b094ca
diff --git a/src/ui/panes.rs b/src/ui/panes.rsindex 031747620..fcb51d2a7 100644--- a/src/ui/panes.rs+++ b/src/ui/panes.rs@@ -399,13 +399,11 @@ fn render_pane_borders(app: &AppState, ws: &crate::workspace::Workspace, frame:{continue;}- let focused_touching = app+ let focused = app.view.pane_infos.iter().any(|info| info.is_focused && line_touches_pane(x, y, info, app.pane_gaps));- let branch_cell = !app.pane_gaps && line_cell_degree(line) >= 3;- let focused = focused_touching && !branch_cell;let symbol = line_cell_symbol(line);if symbol.is_empty() {continue;@@ -590,10 +588,6 @@ fn render_pane_border_titles(app: &AppState, ws: &crate::workspace::Workspace, f}}-fn line_cell_degree(line: LineCell) -> u8 {- line.up as u8 + line.down as u8 + line.left as u8 + line.right as u8-}-fn line_cell_symbol(line: LineCell) -> &'static str {match (line.up, line.down, line.left, line.right) {(true, true, true, true) => "┼",@@ -994,7 +988,7 @@ mod tests {let buffer = terminal.backend().buffer();assert_eq!(buffer[(2, 2)].symbol(), "┼");- assert_eq!(buffer[(2, 2)].style().fg, Some(app.palette.overlay0));+ assert_eq!(buffer[(2, 2)].style().fg, Some(app.palette.accent));assert_eq!(buffer[(2, 1)].symbol(), "│");assert_eq!(buffer[(2, 1)].style().fg, Some(app.palette.accent));}