[Bug] Toggling transcript view cancels pending tool-use permission confirmation

Resolved 💬 2 comments Opened Jun 2, 2026 by garyvvaughan Closed Jun 3, 2026

Bug Description
Bug: toggling the transcript view (Ctrl+O / app:toggleTranscript) while a tool-use permission confirmation is pending cancels/aborts that pending confirmation.

Repro:

  1. Trigger a tool call that requires the allow/deny permission prompt (prompt is displayed, awaiting input).
  2. Press Ctrl+O to switch to the transcript / thinking-log view.
  3. Press Ctrl+O again to switch back.

=> The pending permission prompt is gone and the request is interrupted (the tool call is treated as rejected/aborted, "The user doesn't want to proceed with this tool use"), even though no allow/deny choice was made.

Expected: switching the transcript view should be view-only and must not interrupt or dismiss an in-flight permission confirmation — on returning, the prompt should still be waiting for a choice.

Environment: Claude Code ~v2.1.160, terminal on macOS (Darwin 24.6), zsh. Reproducible every time.

Environment Info

  • Platform: darwin
  • Terminal: kitty
  • Version: 2.1.161
  • Feedback ID: 4a7d3e85-c614-4738-ba90-a22a1aa414f2

Errors

[]

View original on GitHub ↗

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