[BUG] claude code cli bug

Status Open
Reported on v2.1.239
Maintainer reply None cached
Activity 0 comments · opened Aug 22, 2026

Preflight Checklist

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

What's Wrong?

If I wait for a task to take a long time, the screen saver activates. After a while, when I click the mouse to check the status, a prompt appears in the terminal input field that I did not type, and frequently, this is transmitted as input even though I haven't pressed Enter. This is a clear defect in the Claude Code CLI, and it is absurd that such a basic flaw still exists. I hope this defect is fixed as soon as possible.

What Should Happen?

Only prompts where the user explicitly enters and presses <Enter> should be sent.

Error Messages/Logs

Not applicable

Steps to Reproduce

Not applicable

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.239

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

Not applicable

View original on GitHub ↗