claude-code - 💡(How to fix) Fix [Feature Request] Add prompt history/undo functionality for multiline input [1 comments, 2 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#51918Fetched 2026-04-23 07:41:25
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
1
Author
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/posokhinsvyatoslav/.local/share/claude/versions/2.1.117 (expected in multi-process scenarios)\n at fn_ (/$bunfs/root/src/entrypoints/cli.js:2754:2177)\n at H98 (/$bunfs/root/src/entrypoints/cli.js:2754:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:08:58.912Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/posokhinsvyatoslav/.local/share/claude/versions/2.1.117 (expected in multi-process scenarios)\n    at fn_ (/$bunfs/root/src/entrypoints/cli.js:2754:2177)\n    at H98 (/$bunfs/root/src/entrypoints/cli.js:2754:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:08:58.912Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description I was writting prompt. Multiline. A lot of things i ment on this. But i fucked-up and idk which hotkey i used, but after that i was see clean input. And no way to get my prompt again. Arrows did not help. Only one thing i can do now: write all prompts in external editor cause they dont fucked up me like this. Never.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.117
  • Feedback ID: 844f4f0d-9d74-43c2-877a-012cbc428f70

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/posokhinsvyatoslav/.local/share/claude/versions/2.1.117 (expected in multi-process scenarios)\n    at fn_ (/$bunfs/root/src/entrypoints/cli.js:2754:2177)\n    at H98 (/$bunfs/root/src/entrypoints/cli.js:2754:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:08:58.912Z"}]

extent analysis

TL;DR

The issue might be resolved by checking the lock file acquisition in the /Users/posokhinsvyatoslav/.local/share/claude/versions/2.1.117 directory and ensuring proper multi-process handling.

Guidance

  • Investigate the lock acquisition failure by checking the file system permissions and accessibility of the /Users/posokhinsvyatoslav/.local/share/claude/versions/2.1.117 directory.
  • Verify if the issue persists when using a different terminal or platform to isolate the problem.
  • Check if there are any known issues or updates related to lock acquisition in the version 2.1.117 of the software.
  • Consider temporarily removing the lock file (if it exists) to see if it resolves the issue, but be cautious of potential data loss or corruption.

Notes

The provided error message suggests a non-fatal error related to lock acquisition, which might be specific to the multi-process scenario. However, the exact cause of the prompt loss is unclear, and further investigation is needed.

Recommendation

Apply workaround: Temporarily remove the lock file (if it exists) and test if the issue is resolved, as this might help identify if the lock acquisition is the root cause of the problem.

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 [Feature Request] Add prompt history/undo functionality for multiline input [1 comments, 2 participants]