Terminal prompt renders incorrectly after exiting Claude Code
Resolved 💬 3 comments Opened Mar 27, 2026 by Jack-261108 Closed Mar 30, 2026
Summary
After exiting Claude Code, my terminal prompt is not restored correctly and shows extra rendering artifacts.
Expected behavior
When Claude Code exits, the terminal should cleanly return to the normal shell prompt.
Actual behavior
After exit, the prompt appears visually broken. Extra characters/artifacts appear on the left side of the prompt, similar to [> %, instead of the shell prompt being restored normally.
Environment
- OS: macOS 15.6 (Darwin 24.6.0)
- Shell: zsh (
/bin/zsh) - Claude Code version: 2.1.85
- Hardware: Apple Silicon (arm64)
- Terminal: unknown
- Prompt/theme/plugin: unknown
Steps to reproduce
- Open a terminal
- Run
claude - Exit Claude Code
- Observe the shell prompt rendering issue after exit
Frequency
Unknown
Additional notes
This seems to be a terminal prompt restoration issue that happens on exit, rather than a rendering issue during startup.
A screenshot is available and can be attached manually if needed.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗