[Bug] Backspace Input Handling Breaks During File Path Autocomplete

Resolved 💬 3 comments Opened Oct 14, 2025 by borght-dev Closed Oct 17, 2025

Bug Description
First of all, thank you so much for all the effort you’re putting into this product. I really enjoy working with Claude Code, and it adds a lot of value for me.

There’s one issue I keep running into: when I press backspace, it doesn’t immediately delete text. Instead, the cursor moves, and I have to keep pressing backspace until it finally “catches up” and starts removing characters as expected. This happens more frequently when I’m trying to add a file using the @ symbol, and it becomes even more noticeable when the directory being searched is large.

I think this is a windows terminal specific thing, cause I haven't noticed this when using the claude agent in Rider for example. It's probably a React render issue, cause I have seen similar issues in our own product where React was re-rendering when it shouldn't.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.14
  • Feedback ID:

Errors

[{"error":"AbortError: The operation was aborted\n    at abortChildProcess (node:child_process:725:27)\n    at EventTarget.onAbortListener (node:child_process:795:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:831:20)\n    at EventTarget.dispatchEvent (node:internal/event_target:766:26)\n    at abortSignal (node:internal/abort_controller:370:10)\n    at AbortController.abort (node:internal/abort_controller:392:5)\n    at Timeout._onTimeout (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:3572:4701)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-10-14T07:31:31.444Z"},{"error":"AxiosError: Request failed with status code 403\n    at iM (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n    at Unzip.<anonymous> (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:29:9845)\n    at Unzip.emit (node:events:536:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at A81.request (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async rLA (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:280:34283)","timestamp":"2025-10-14T07:31:33.036Z"},{"error":"Error: Request was aborted.\n    at tS.makeRequest (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:573:3850)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at runNextTicks (node:internal/process/task_queues:64:3)\n    at process.processTimers (node:internal/timers:516:9)","timestamp":"2025-10-14T07:32:24.582Z"},{"error":"Error: EPERM: operation not permitted, rename 'C:\\Users\\KoenvanderBorghtGomo\\.claude.json.tmp.143672.1760427144709' -> 'C:\\Users\\KoenvanderBorghtGomo\\.claude.json'\n    at Module.renameSync (node:fs:1033:11)\n    at Object.renameSync (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:9:980)\n    at aR (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:3440:773)\n    at GqQ (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:3417:15574)\n    at SA (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:3417:13813)\n    at GX8 (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:2713:5133)\n    at CzQ (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:2713:5212)\n    at wzQ (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:2713:12141)\n    at file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:2713:26603\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-10-14T07:32:24.766Z"},{"error":"AxiosError: Request failed with status code 403\n    at iM (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n    at Unzip.<anonymous> (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:29:9845)\n    at Unzip.emit (node:events:536:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at A81.request (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async uy6 (file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:1148:470)\n    at async Promise.all (index 0)\n    at async file:///D:/npm-global/node_modules/@anthropic-ai/claude-code/cli.js:1134:12743","timestamp":"2025-10-14T07:37:11.317Z"}]

View original on GitHub ↗

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