Skip to content

feat: terminal tab/window title with session name and thinking indicator - #8497

Closed
iRonin wants to merge 2 commits into
NousResearch:mainfrom
iRonin:ironin/terminal-title
Closed

feat: terminal tab/window title with session name and thinking indicator#8497
iRonin wants to merge 2 commits into
NousResearch:mainfrom
iRonin:ironin/terminal-title

Conversation

@iRonin

@iRonin iRonin commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

Sets the terminal window/tab title when Hermes starts and updates it as the session progresses.

Title format

State Title
Idle (no title) icon
Idle (with session title) icon My Session
Agent thinking icon My Session (thinking)

Configurable via display.terminal_title: false to opt-out.

Closes #5505

iRonin added 2 commits April 12, 2026 11:05
…dicator

Sets the terminal title via OSC 0 escape sequence (\x1b]0;...\x07):

  ⚕ Hermes — session name   (named session, idle)
  ⚕ Hermes ⏳                (agent thinking)
  ⚕ Hermes                   (unnamed session)

Symbol comes from the active skin's response_label (⚕ default,
⚔ Ares, etc.) so it adapts to the current theme.

Updated at:
- run() startup
- _preload_resumed_session() when a titled session is resumed
- /title command when a title is set or committed from pending
- process_loop when agent starts (thinking=True) and finishes

Skipped when stdout is not a TTY, TERM=dumb, or NO_COLOR is set.
Users on tmux/screen, or whose iTerm2 profile appends the job name
(Python) to the tab title, can now disable OSC title sequences:

  display:
    terminal_title: false

Default: true (enabled).
@teknium1

Copy link
Copy Markdown
Contributor

Thanks for the contribution, @iRonin!

Closing this as a duplicate of #5318 (by @iRonin), which targets the same fix/feature. We're consolidating on that PR for review.

If you want to help push it over the line, please jump in there — or if you think your approach is better for a specific reason that isn't covered in the other PR, let us know and we can reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: terminal tab/window title with session name and thinking indicator

2 participants