Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
64850d9
list: name the hidden columns in the footer, and document width-respo…
max-sixty Sep 1, 2026
5ea9a44
list: invert the JSON docs — schema 2 gets the field reference, schem…
max-sixty Sep 1, 2026
051516d
list: fix three doc claims and expose the branch marker in JSON (#58)
max-sixty Sep 1, 2026
97e420e
list: cap the Branch column at 32 characters (#89)
max-sixty Sep 1, 2026
5a573bf
list: drop an all-empty column before any populated one (#90)
max-sixty Sep 2, 2026
194258d
list: head the default-branch columns with the default branch's name …
max-sixty Sep 2, 2026
7b1a95d
list: give detached and prunable worktrees a row that says so (#92)
max-sixty Sep 2, 2026
a97eb0d
list: fix four table-alignment defects (#93)
max-sixty Sep 2, 2026
9c65cf2
Merge origin/main
max-sixty Sep 2, 2026
0389b08
Fix trailing padding on an empty last cell and hidden-column ordering
max-sixty Sep 3, 2026
4e2cbd1
Merge origin/main
max-sixty Sep 3, 2026
5b15d40
Realign the two snapshots main added
max-sixty Sep 3, 2026
72cbe1d
Finish the detached glyph's docs; simplify trim_end
max-sixty Sep 3, 2026
7fd0072
Name the detached glyph in the attribute family too
max-sixty Sep 3, 2026
5af76e1
Merge branch 'main' into land/list-improvements
max-sixty Sep 6, 2026
c92553d
Fix wrapped progressive list footers
max-sixty Sep 6, 2026
879de26
test: pin progressive footer cursor row
max-sixty Sep 6, 2026
b7f2768
Merge remote-tracking branch 'origin/main' into land/list-improvements
max-sixty Sep 6, 2026
42860b1
Merge remote-tracking branch 'origin/main' into land/list-improvements
max-sixty Sep 6, 2026
72c2133
Simplify list column labels and alignment
max-sixty Sep 7, 2026
030a4c8
Merge remote-tracking branch 'origin/main' into land/list-improvements
max-sixty Sep 7, 2026
18ac145
Update centered list placeholders
max-sixty Sep 7, 2026
c361631
Share list column alignment
max-sixty Sep 7, 2026
042b9b4
Merge remote-tracking branch 'origin/main' into land/list-improvements
max-sixty Sep 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .claude/skills/writing-user-outputs/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,18 @@ eprintln!("{}", success_message(format!(

## Table Column Alignment

- **Text columns** (Branch, Path): left-aligned
- **Numeric columns** (HEAD±, main↕): right-aligned
- **Text columns** (Branch, Path, Message): left-aligned
- **Single-value numeric columns** (Age): right-aligned, so `now` and `4m` line
up on the unit
- **Diff columns** (HEAD±, main↕): two right-aligned halves either side of a
separator (`+999 -999`)

A header follows its content, except over a diff column, where it centres:
pushed to either edge it stands over one half and reads as that half's label,
leaving a lone `+1` stranded left of `HEAD±`.

Rows carry no trailing padding. Padding places a cell; past the last one it
places nothing, and a reader who selects the row gets it anyway.

## Snapshot Testing

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ This creates a new branch and worktree, then switches to it. Do your work, then

```console
$ wt list
Branch Status HEAD± main↕ main…± Remote⇅ Commit Age Message
@ feature-auth + ↑ +27 -8 ↑1 +31 4bc72dc 2h Add authenticati…
^ main ^⇡ ⇡1 0e631ad 1d Initial commit
Branch Status HEAD± main↕ main…± Remote⇅ Commit Age Message
@ feature-auth + ↑ +27 -8 ↑1 +31 4bc72dc 2h Add authenticati…
^ main ^⇡ ⇡1 0e631ad 1d Initial commit

○ Showing 2 worktrees, 1 with changes, 1 ahead, 1 column hidden
○ Showing 2 worktrees, 1 with changes, 1 ahead, hidden: Path
```

The `@` marks the current worktree. `+` means staged changes, `↑1` means 1 commit ahead of main, `⇡` means unpushed commits.
Expand Down
4 changes: 2 additions & 2 deletions dev/config.example.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions docs/public/schema/list-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,10 @@
],
"description": "HEAD commit; null for unborn branches."
},
"marker": {
"$ref": "#/$defs/Nullable_string",
"description": "Branch marker stored via `wt config state marker`; absent when none\nis set, null while the lookup is unresolved. The same string is the\nlast glyph in `display.symbols`."
},
"pr": {
"$ref": "#/$defs/Nullable_JsonPr",
"description": "Open PR/MR; absent when none exists (or CI wasn't collected), null\nwhen the forge fetch failed."
Expand Down
10 changes: 5 additions & 5 deletions docs/src/content/docs/claude-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ The Claude Code, Codex, OpenCode, and Gemini plugins track agent sessions with s

```console
$ wt list
Branch Status HEAD± main↕ main…± Remote⇅ Path Commit Age Message
@ main ^⇡ ⇡1 . 33323bc 1d Initial commit
+ feature-api ↑ 🤖 ↑1 +1 ../repo.feature-api 70343f0 1d Add REST API endpoints
+ review-ui ? ↑ 💬 +1 ↑1 +1 ../repo.review-ui a585d6e 1d Add dashboard component
+ wip-docs ? – +1 ../repo.wip-docs 33323bc 1d Initial commit
Branch Status HEAD± main↕ main…± Remote⇅ Path Commit Age Message
@ main ^⇡ ⇡1 . 33323bc 1d Initial commit
+ feature-api ↑ 🤖 ↑1 +1 ../repo.feature-api 70343f0 1d Add REST API endpoints
+ review-ui ? ↑ 💬 +1 ↑1 +1 ../repo.review-ui a585d6e 1d Add dashboard component
+ wip-docs ? – +1 ../repo.wip-docs 33323bc 1d Initial commit

○ Showing 4 worktrees, 2 with changes, 2 ahead
```
Expand Down
16 changes: 8 additions & 8 deletions docs/src/content/docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ Valid built-in names:
- `branch` — The branch name
- `status` — Git status symbols, plus any user-defined status
- `working-diff` — Uncommitted line changes against `HEAD`, including untracked files (header `HEAD±`)
- `ahead-behind` — Commits ahead of and behind the default branch (header `main↕`)
- `branch-diff` — Line changes against the default branch (header `main…±`)
- `ahead-behind` — Commits ahead of and behind the default branch (header `main↕`, or whatever the default branch is called)
- `branch-diff` — Line changes against the default branch (header `main…±`, likewise)
- `summary` — An LLM-generated summary of the branch
- `upstream` — Commits ahead of and behind the upstream tracking branch (header `Remote⇅`)
- `ci` — CI status of the head commit
Expand Down Expand Up @@ -1381,13 +1381,13 @@ Markers appear at the end of the Status column, after git symbols:

```console
$ wt list
Branch Status HEAD± main↕ main…± Remote⇅ Commit Age Message
@ main ^⇡ ⇡1 33323bc 1d Initial commit
+ feature-api ↑ 🤖 ↑1 +1 70343f0 1d Add REST API endp…
+ review-ui ? ↑ 💬 +1 ↑1 +1 a585d6e 1d Add dashboard com…
+ wip-docs ? – +1 33323bc 1d Initial commit
Branch Status HEAD± main↕ main…± Remote⇅ Commit Age Message
@ main ^⇡ ⇡1 33323bc 1d Initial commit
+ feature-api ↑ 🤖 ↑1 +1 70343f0 1d Add REST API endp…
+ review-ui ? ↑ 💬 +1 ↑1 +1 a585d6e 1d Add dashboard com…
+ wip-docs ? – +1 33323bc 1d Initial commit

○ Showing 4 worktrees, 2 with changes, 2 ahead, 1 column hidden
○ Showing 4 worktrees, 2 with changes, 2 ahead, hidden: Path
```

### Use cases
Expand Down
Loading
Loading