claude-code - 💡(How to fix) Fix [Bug] Agent context lost when switching to fullscreen mode in TUI [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#52643Fetched 2026-04-24 06:01:39
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/joelc/.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-24T00:54:31.234Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/joelc/.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-24T00:54:31.234Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Start claude with --agent foo

Run /tui fullscreen

Switches to fullscreen and loses the agent.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.119
  • Feedback ID: 8db0eb15-ae33-45f6-890c-6f47442c3569

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/joelc/.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-24T00:54:31.234Z"}]

extent analysis

TL;DR

Run Claude with the --agent option in a non-fullscreen mode or try resetting the agent configuration to mitigate the issue.

Guidance

  • The error message suggests a lock acquisition failure, which might be related to the fullscreen mode or the agent configuration.
  • Try running Claude without the --agent option or with a different agent to see if the issue persists.
  • Verify if the problem occurs in other terminal applications or only in iTerm.app.
  • Check the Claude documentation for any known issues or configuration options related to fullscreen mode and agent management.

Notes

The provided error message is not directly related to the fullscreen mode, but it might be a symptom of a larger issue. More information about the Claude configuration and the agent setup would be necessary to provide a more accurate solution.

Recommendation

Apply workaround: Try running Claude without the --agent option or with a different agent to see if the issue persists, as this might help mitigate the problem until a more permanent solution is found.

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] Agent context lost when switching to fullscreen mode in TUI [1 comments, 2 participants]