claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug Report] Cannot intterupt claude execution

Open randalmurphal opened this issue 10 months ago • 2 comments

Bug Description When claude execution is ongoing, and a background task exits, fails, completes, or whatever, then I am unable to use esc or ctrl+c to do anything in that claude code instance. Only solution is ctrl+d to kill then resume that conversation.

Environment Info

  • Platform: linux
  • Terminal: WezTerm
  • Version: 2.1.3
  • Feedback ID: 401fe105-f98d-4ab5-8b88-66430fb9fada

Errors

[{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at ChildProcess.<anonymous> (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2140:21508)\n    at ChildProcess.emit (node:events:519:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at ChildProcess._handle.onexit (node:internal/child_process:293:12)\n    at Process.callbackTrampoline (node:internal/async_hooks:130:17)","timestamp":"2026-01-10T21:26:55.397Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:441:20)\n    at file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:9:464\n    at LD (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:8:34291)\n    at Object.readFileSync (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:9:433)\n    at MeB (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4670:23190)\n    at Object.call (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1673:942)\n    at tJ7 (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3265:27195)","timestamp":"2026-01-10T22:50:32.562Z"},{"error":"MaxFileReadTokenExceededError: File content (25034 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OeB (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1664:13298)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1673:996)\n    at async tJ7 (file:///home/randy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3265:27187)","timestamp":"2026-01-10T23:41:09.965Z"}]

randalmurphal avatar Jan 10 '26 23:01 randalmurphal

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/17392
  2. https://github.com/anthropics/claude-code/issues/16905
  3. https://github.com/anthropics/claude-code/issues/17394

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Jan 10 '26 23:01 github-actions[bot]

I have the same problem

davidroman0O avatar Jan 11 '26 00:01 davidroman0O

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Feb 10 '26 10:02 github-actions[bot]

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] avatar Feb 24 '26 22:02 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Mar 04 '26 14:03 github-actions[bot]