diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-03 01:48:15 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-03 01:48:15 +0300 |
| commit | 94e6a2ff646715cb214c6f9bac8d146c5486dd35 (patch) | |
| tree | 34a0757b1c0214f09f89d24f519b8024449d19b0 /src/ui.rs | |
| parent | 94809b2022f78216309036650e3d73841c2ee022 (diff) | |
fix workspace identity and tab-aware notifications
Diffstat (limited to 'src/ui.rs')
| -rw-r--r-- | src/ui.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |
