claude-code - 💡(How to fix) Fix [Bug] Command delete removes all prompt lines instead of current line only [15 comments, 15 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#49313Fetched 2026-04-17 08:44:48
View on GitHub
Comments
15
Participants
15
Timeline
25
Reactions
20

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/waihoowswee/.local/share/claude/versions/2.1.111 (expected in multi-process scenarios)\n at Kd_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n at qe6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T17:19:41.539Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/waihoowswee/.local/share/claude/versions/2.1.111 (expected in multi-process scenarios)\n    at Kd_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n    at qe6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T17:19:41.539Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description When i have multiple lines on my prompt, clicking command delete will delete all lines instead of just the line i am in.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.111
  • Feedback ID: e9daaa46-7d5b-4180-bc8e-f3729c96f63c

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/waihoowswee/.local/share/claude/versions/2.1.111 (expected in multi-process scenarios)\n    at Kd_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n    at qe6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T17:19:41.539Z"}]

extent analysis

TL;DR

The issue might be related to the terminal or platform configuration, and checking the keyboard shortcuts or terminal settings could provide a workaround.

Guidance

  • Verify if the issue occurs in other terminals or platforms to isolate the problem.
  • Check the VSCode keyboard shortcuts for "command + delete" to see if it's configured to delete all lines.
  • Investigate if there are any terminal or platform-specific settings that could be causing this behavior.
  • Look into the error message and see if the "Lock acquisition failed" error is related to the deletion issue.

Example

No code snippet is provided as the issue seems to be related to configuration or platform settings.

Notes

The error message seems unrelated to the deletion issue, but it's worth investigating to ensure it's not a contributing factor. The issue might be specific to the darwin platform or VSCode terminal.

Recommendation

Apply workaround: Check and modify the keyboard shortcuts or terminal settings to achieve the desired behavior, as the issue seems to be related to configuration rather than a version-specific bug.

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

claude-code - 💡(How to fix) Fix [Bug] Command delete removes all prompt lines instead of current line only [15 comments, 15 participants]