-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Description
When a terminal tile has an active notification highlight (green/yellow attention border), focusing on that terminal draws the blue focus border underneath the cwd bar label at the bottom of the tile. Without a notification highlight, the blue focus border correctly renders on top of the cwd bar. The z-order of the blue focus border relative to the cwd bar should be consistent regardless of whether a notification border is present.
Steps to Reproduce
Starting state: Grid view with multiple terminal sessions, at least one session with an active Claude agent that triggers notification highlights (green or yellow border).
- Observe a terminal tile that has a notification highlight (green or yellow border).
- Focus on that terminal tile.
- Notice the blue focus border is drawn underneath the cwd bar label at the bottom of the tile.
- For comparison, focus on a terminal tile without a notification highlight — the blue border renders on top of the cwd bar.
Reproducibility: Always
Expected Behavior
The blue focus border should render on top of the cwd bar label, consistent with how it behaves when no notification highlight is active.
Actual Behavior
The blue focus border is rendered under the cwd bar label when a notification highlight (attention border) is also present on the terminal tile.
Suspected Area
Rendering z-order in src/render/renderer.zig (renderSessionOverlays) and src/ui/components/cwd_bar.zig. The focus border is drawn in the renderer pass while the cwd bar is drawn in the UI layer; when the attention path is active, the inset focus border may end up below the cwd bar in the draw order.
Acceptance Criteria
- Blue focus border renders on top of the cwd bar label regardless of notification highlight state
- The fix does not break existing border rendering for non-highlighted, highlighted, and focused states
- Visual consistency: focus border z-order relative to cwd bar is the same in all cases