claude-code - 💡(How to fix) Fix [BUG] Action confirmation prompt requires more than keypress to be dismissed [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#58690Fetched 2026-05-14 03:41:59
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×5commented ×2

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Not sure if this only happens in the "yes" answer, to give permission to run or do something, but after pressing the option, the confirmation prompt stays open, and it seems time keeps passing, and I need to press one more times to really close the prompt and see it doing something. And afterwards, shows the answers multiple times (the times I needed to press).

⏺ That sounds like a known UI glitch — the prompt captures the keypress but doesn't dismiss until a second input event arrives, and the duplicate entries are the repeated keypresses being rendered. It's a terminal input handling race condition in the prompt library.

Claude Code v2.1.140 OS: macOS 26.4.1 (25E253) Terminal emulator: iTerm2 Build 3.6.10

What Should Happen?

The confirmation prompt close on first keypress.

Error Messages/Logs

Steps to Reproduce

Not sure if happened with other commands, but the last 2 times that happened was requesting information from JIRA tasks using the MCP tool Atlassian/Jira.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.139

Claude Code Version

v2.1.140

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING