tmux/claude: reflect Claude session state in the Ghostty tab / OS window title #6

Open
opened 2026-06-03 18:19:36 +00:00 by jmz · 0 comments
Owner

Context

set-titles-string is currently #h ❐ #S ● #I #W. The Claude session state is
not reflected in the OS-level window/tab title, so Ghostty's tab strip and the
macOS window list don't show whether a session is busy/blocked when tmux is
backgrounded.

Proposal

Fold @claude_status into the title so the state glyph appears in the Ghostty
tab and OS window title even when tmux isn't on screen.

Implementation sketch

  • Update set-titles-string in dot_config/tmux/tmux.conf.local.tmpl to prepend
    a state glyph derived from @claude_status (reuse the format-conditional style
    already used in window-status-format).
  • Verify Ghostty renders the title promptly (it honours title OSC live).

Effort

Small (one format string), some fiddling to get the conditional glyph right.

## Context `set-titles-string` is currently `#h ❐ #S ● #I #W`. The Claude session state is not reflected in the OS-level window/tab title, so Ghostty's tab strip and the macOS window list don't show whether a session is busy/blocked when tmux is backgrounded. ## Proposal Fold `@claude_status` into the title so the state glyph appears in the Ghostty tab and OS window title even when tmux isn't on screen. ## Implementation sketch - Update `set-titles-string` in `dot_config/tmux/tmux.conf.local.tmpl` to prepend a state glyph derived from `@claude_status` (reuse the format-conditional style already used in `window-status-format`). - Verify Ghostty renders the title promptly (it honours title OSC live). ## Effort Small (one format string), some fiddling to get the conditional glyph right.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jmz/dotfiles-public#6
No description provided.