Stray '>' character appears at prompt line after response completes
Resolved 💬 2 comments Opened Mar 16, 2026 by kartbala Closed Apr 14, 2026
Description
A stray > character intermittently appears at the beginning of the Claude Code prompt line after a response completes. The prompt shows ❯_> instead of just ❯_.
Environment
- OS: macOS (Darwin 25.3.0)
- Terminal: iTerm2
- Shell: zsh
- Status line: enabled (
bypass permissions on) - Voice: enabled
- Hooks: Stop hook (session-summary.py writing to stderr only)
Reproduction
- Happens intermittently after responses complete
- Not tied to any specific response content or tool usage
- The
>is cosmetic only — typing normally clears it and input is unaffected - Observed across multiple sessions
Analysis
Checked potential causes:
- Shell prompt (
$PROMPT):%T:— no>character - Hooks: Both Stop hooks (session-summary.py, speak-response.py) write to stderr/files, not stdout
- Settings: No custom keybindings or prompt configuration
Likely a TUI rendering artifact from ANSI escape sequences or status line updates leaving behind a character.
Expected behavior
Prompt should show only ❯ with the cursor, no extra characters.
Actual behavior
Prompt occasionally shows ❯_> with a stray > character after a response completes.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗