claude-code - 💡(How to fix) Fix [Bug] Config save not triggered on Enter key press [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#52724Fetched 2026-04-24 10:41:21
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/david/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:15:02.721Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/david/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:15:02.721Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description

Enter to save on the config doesn't really save.

To reproduce

  • Start claude
  • /config
  • search something like vim
  • pressing enter cycles the value as if you pressed space.

If you esc now, the value change is dismissed. You have to leave the config without pressing esc for the change to be persisted. This is quite unintuitive.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.119
  • Feedback ID: 11d290c7-8381-40f6-933b-fa8dc0bc4eb0

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/david/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:15:02.721Z"}]

extent analysis

TL;DR

The issue can be mitigated by not pressing esc after changing a config value and instead leaving the config without dismissing the changes.

Guidance

  • The problem seems to be related to how changes are persisted when using the enter key to cycle through values in the config.
  • To verify if a change has been persisted, check the config after leaving and re-entering it without pressing esc.
  • The error message suggests a potential issue with lock acquisition, but it's marked as non-fatal and may not be directly related to the saving issue.
  • Try leaving the config without pressing esc to see if the changes are saved as expected.

Example

No code snippet is provided as the issue seems to be related to the behavior of the claude application rather than a specific code snippet.

Notes

The provided error message is marked as non-fatal and may not be directly related to the issue at hand. The problem seems to be more related to the user interface and user experience of the claude application.

Recommendation

Apply workaround: The best course of action seems to be to avoid pressing esc after making changes to the config and instead leave the config without dismissing the changes, allowing them to be persisted.

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