[BUG] Malformed session ID output on /exit - extra "e REPL" appended
Status Fixed / completed
Maintainer reply None cached
Activity 1 comment · opened Aug 5, 2026 · closed Aug 5, 2026
Description
When exiting a Claude Code session with /exit, the printed resume command contains a malformed session ID with e REPL appended to it.
Steps to Reproduce
- Start a Claude Code session
- Type
/exitto end the session
Expected Output
claude --resume f6066ebb-140e-4519-ab63-b9cde0b60b57
Actual Output
claude --resume f6066ebb-140e-4519-ab63-b9cde0b60b57e REPL
Impact
The printed resume command is broken and cannot be used directly — copying and running it as-is fails. The user must manually strip the trailing e REPL before the command works.
This happens every time /exit is used.
Environment
- Claude Code version: v2.1.88
- OS: macOS
- Terminal: iTerm2
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗