[FEATURE] Setting to hide the session-name badge on the prompt box

Status Open
Reported on v2.1.233
Maintainer reply None cached
Activity 0 comments · opened Aug 16, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Good day Anthropic Claude Code folks!

Problem Statement

A named session renders its name as a teal badge on the prompt box's top border. Nothing turns that off.

statusLine scripts already get session_name on stdin. Render it there and you get the name twice, one line apart:

<img width="1971" height="309" alt="Image" src="https://github.com/user-attachments/assets/3e44803e-eb1a-42f6-a2db-42fdff7f6cf6" />

I can drop it from my statusline, but that's the wrong half to give up. The statusline I control: truncate, colorize, combine with session id, branch, model. The badge is fixed.

There's no way to get an empty prompt bar. Leaving a session unnamed doesn't help — per the sessions docs, it gets an AI-generated title instead, which renders in the same badge. Every interactive session has one.

Proposed Solution

A boolean in settings.json, defaulting to current behavior:

{
  "showSessionNameBadge": false
}

Off means the top border renders plain. The name keeps working everywhere else: /resume picker, terminal title, session_name in the statusLine payload, session metadata. Badge only.

A --no-session-name-badge flag would be handy for one-offs, but the setting matters more.

Alternative Solutions

  • Drop session_name from my statusLine. Works, but hands back formatting control and pins the name to a slot I can't style or combine.
  • Leave the session unnamed. Doesn't work: the AI-generated title fills the badge anyway, and I lose the name in /resume.
  • --ax-screen-reader. Strips borders wholesale. Too blunt.

Checked claude --help, the settings reference, interactive mode, statusline, and sessions docs, plus a grep of the 2.1.233 binary. The sessionTitle keys in there set and sync the title; none gate rendering.

Priority

Low - Nice to have

Feature Category

Interactive mode (TUI)

Use Case Example

  1. Many concurrent sessions, one per tmux pane, across several repos.
  2. My statusLine prints <session-id-prefix> | <session_name> | <git-branch> | <model> — one dense line I scan across panes.
  3. I /rename sessions so /resume stays navigable.
  4. So the name renders twice per pane, every session.
  5. With the setting off: once, in the line I formatted, and a clean border.

Additional Context

Version 2.1.233, macOS arm64.

Related, but about the badge's content rather than its visibility:

  • #80711 — SessionStart hook sessionTitle persisted but never shown in the badge
  • #82724 — hook-set sessionTitle reverted by the background AI titler
  • #77217 — statusline session_name falls back to the generated title

#73162, #60097, #75047 ask for more identity in the UI, so this should stay opt-out with the default on.

View original on GitHub ↗