v1.6.0 — Two-line grid layout
The status line now renders as two lines instead of one, making it readable on narrower
terminals. Colors are unchanged.
Changed
-
Two-line grid layout: the segments are arranged in two rows of pipe-separated
cells, and the pipes align vertically. Each column is as wide as the wider of its
two cells (content-based; no terminal-width detection).Sonnet 5 ✦ high | 435k/1M 44% | 5h 4% @16:40 | +12 | ClaudeCodeStatusLine@main v2.1.198 | extra $0/$25 | 7d 12% Sun@19:00 | -3 | my-worktreeRow 1: model with the ✦ thinking marker and effort level (one fused cell), tokens,
5-hour usage, lines added, cwd@branch. Row 2: CLI version, extra usage, 7-day usage,
lines removed, worktree. Cells with no data render a dim-so the grid stays
aligned; the cwd cell is simply omitted when Claude Code supplies no working
directory. -
Context percentage loses its parentheses:
435k/1M 44%instead of
435k/1M (44%); the green percent is differentiation enough. -
Line changes get their own column: the unstaged
(+N -M)suffix that rode inside
the cwd cell is now a stacked column of its own (green+addedover red-removed,
no parentheses). As before, it appears only while the tree is dirty. -
Thinking marker position: the
✦now sits between the model name and the effort
word (Sonnet 5 ✦ high); previously it was appended after the effort word. -
5h/7d internal alignment: the two usage cells right-align their percentages and
stack their@reset markers, so4%sits under12%and@16:40under
Sun@19:00. -
Extra usage is always visible when enabled: the cell shows dollar figures
whenever the account has extra usage enabled, including a$0month (previously the
segment was hidden until something was spent). It shows a dim-when extra usage
is disabled or no API data is available. -
Whole-dollar amounts drop the cents:
$0/$25instead of$0.00/$25.00;
fractional amounts keep two decimals ($3.50). -
Version cell placeholder: when the CLI version cannot be determined, the cell
renders a dim-instead of disappearing.
Added
- Worktree segment: row 2 ends with the worktree name when the session runs in a
Claude Code--worktreeisolation session (stdinworktree.name), and a dim-
otherwise.
Fixed
- Locale-independent ✦ width (Bash): under a C/POSIX locale the ✦ thinking marker
was measured as 3 bytes instead of 1 display column, over-padding the first column
and misaligning the pipes below it. Column widths now count it as a single column
in any locale. Verified against bash 3.2.57, the version macOS ships.