tmux/claude: reflect Claude session state in the Ghostty tab / OS window title #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
set-titles-stringis currently#h ❐ #S ● #I #W. The Claude session state isnot 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_statusinto the title so the state glyph appears in the Ghosttytab and OS window title even when tmux isn't on screen.
Implementation sketch
set-titles-stringindot_config/tmux/tmux.conf.local.tmplto prependa state glyph derived from
@claude_status(reuse the format-conditional stylealready used in
window-status-format).Effort
Small (one format string), some fiddling to get the conditional glyph right.