Stray '>' character appears at prompt line after response completes (still occurring; refile of #34970)

Resolved 💬 2 comments Opened Apr 15, 2026 by kartbala Closed May 25, 2026

Refiling #34970 — the original was auto-closed by the stale bot, but this is still happening as of 2026-04-14.

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, writes to stderr only)

Reproduction

  • Happens intermittently after responses complete
  • Not tied to specific response content or tool usage
  • The > is cosmetic only — typing clears it, input is unaffected
  • Observed across multiple sessions and multiple Claude Code versions since March

Expected

Prompt shows only with cursor.

Actual

Prompt occasionally shows ❯_> with a stray >.

Prior analysis (from #34970)

  • $PROMPT is %T: — no > character
  • Stop hooks write to stderr/files, not stdout
  • No custom keybindings or prompt config
  • Likely a TUI rendering artifact from ANSI escapes or status line updates

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗