From 94e6a2ff646715cb214c6f9bac8d146c5486dd35 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 3 Apr 2026 01:48:15 +0300 Subject: fix workspace identity and tab-aware notifications --- src/ui.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui.rs') diff --git a/src/ui.rs b/src/ui.rs index dd344f87..05b5a634 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -316,7 +316,8 @@ fn compute_sidebar_width(app: &AppState) -> u16 { .map(|detail| 3 + detail.label.len() + 1 + state_label(detail.state, detail.seen).len()) .max() .unwrap_or(0); - ((max_workspace_line.max(max_agent_line) as u16) + 2).clamp(MIN_SIDEBAR_WIDTH, MAX_SIDEBAR_WIDTH) + ((max_workspace_line.max(max_agent_line) as u16) + 2) + .clamp(MIN_SIDEBAR_WIDTH, MAX_SIDEBAR_WIDTH) } /// Collapsed sidebar: pure glance mode. -- cgit v1.2.3