Repository navigation
Description
Problem
In crowded terminal layouts with multiple panes (3-6 agent sessions visible), the bottom status line is difficult to parse at a glance. The status area uses dim_color() for most text, making it visually compete with transcript content above it rather than forming a distinct information tier.
Observed behavior (from a real multi-pane session)
The status line blends into the transcript because:
- State labels are implicit, not explicit -
sending context...,thinking...,waiting for response...are free-form text that requires reading to distinguish. In ForgeCode's equivalent,Reason 54:50m - Ctrl+C to interruptuses a recognizableSTATE TIME - CONTROLstructure. dim_color()status text has insufficient contrast - the gray status text is close enough to transcript dim text that the two merge in peripheral vision, especially in narrow panes.- Spinner is tiny and alone - the braille spinner at the start is the only visual signal of activity, but it is small and uses the same
ai_color()as tool call highlights, so it does not form a visual anchor. - All status info is in a single unstructured run - state, timing, and transport info are in one string separated only by middle dots. When the pane is narrow, this wraps or truncates unpredictably.
Comparison
ForgeCode (text-oriented, similar to Jcode's pane layout) handles this better (~50-75% there):
Reason 54:50m - Ctrl+C to interrupt- state is labeled, time is readable, control hint is present- Its status text is slightly bolder and more distinct from transcript content
Codex (TUI-heavy) is different enough that direct comparison is less useful, but its Working (6s - esc to interrupt) has clear structural separation from the transcript.
Proposed improvements
1. New status_text palette role with higher contrast
Add a dedicated palette role for status text (distinct from dim) that provides enough contrast to form a separate visual tier without competing with message text. This keeps the property that every status color is user-configurable.
2. Explicit bracketed state labels
Replace free-form status text with structured, scannable labels:
[sending] 4sinstead ofsending... 4s[thinking] 12sinstead ofthinking... 12s[streaming] 2.1s - 3.2 tpsinstead of2.1s - 3.2 tps[tool: bash] - cargo test - 8sinstead ofrunning bash - cargo test - 8s[rate limited] auto-retry in 4m 30sinstead ofRate limited. Auto-retry in 4m 30s
The bracketed prefix creates a fixed-width visual anchor that the eye can scan vertically across panes.
3. Sub-10s elapsed precision
Show tenths of a second below 10s (4.2s instead of 4s) so operators can distinguish fast vs slow tool calls without mental math.
4. Optional: status line background tint
A very subtle background tint on the status line (via the palette system, user-configurable) would physically separate it from the transcript area above. Lower priority but would complete the visual hierarchy.
Files affected
crates/jcode-tui-style/src/palette.rs- newstatus_textrolecrates/jcode-tui/src/tui/ui_input.rs-draw_status(),format_elapsed(), helperscrates/jcode-tui/src/tui/ui_inline_interactive.rs-format_elapsed()precision
Acceptance criteria
- Status text uses a higher-contrast color than current
dim_color()by default - Each processing state has a recognizable bracketed prefix
- Elapsed time shows tenths below 10s
- Existing status tests still pass (golden files may need updating)
- All status colors remain user-configurable via
[display.colors]
Activity
feat(tui): status bar readability + responsive layout optimizations
chore(budget): bump code-size baselines for 3 files grown by v0.88 merge
docs(session): round 11 — all 3 high-hazard are no-ops; issue #38 res…
docs(pr-content): add PR #3 (combined P30 fix on cleanup-arc)
docs(operator-actions): mark P30 combined fix branch push as DONE
docs(operator-actions): record cargo check pass on P30 combined branch
docs(portal): retract PR #25/#26 false positive (§22 audit methodolog…