claude-code - 💡(How to fix) Fix [BUG] TUI freezes when entering /config, exiting, then re-entering /config [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#46918Fetched 2026-04-12 13:29:43
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Entering /config, exiting, then re-entering /config causes the entire Claude Code TUI to freeze. The only way to recover is to force-quit and restart Claude Code.

Root Cause

Entering /config, exiting, then re-entering /config causes the entire Claude Code TUI to freeze. The only way to recover is to force-quit and restart Claude Code.

Fix Action

Workaround

Restart Claude Code entirely after using /config once.

RAW_BUFFERClick to expand / collapse

Summary

Entering /config, exiting, then re-entering /config causes the entire Claude Code TUI to freeze. The only way to recover is to force-quit and restart Claude Code.

Environment

  • OS: macOS 25.5.0 (Darwin)
  • Claude Code version: 2.1.104
  • Shell: zsh
  • Terminal: iTerm2

Steps to Reproduce

  1. Open Claude Code in a project directory
  2. Type /config and press Enter — the config screen opens normally
  3. Exit the config screen (press Escape)
  4. Type /config and press Enter again
  5. Observe: the entire TUI freezes — no input is accepted, no response to Ctrl+C or Escape

Expected Behavior

The /config screen should open normally every time it is invoked.

Actual Behavior

On the second invocation of /config, the TUI freezes completely. No keyboard input is accepted. The process must be force-killed (close terminal window or kill the process).

Workaround

Restart Claude Code entirely after using /config once.

Notes

  • Reproducible every time — not intermittent
  • Only requires a single /config session followed by a second /config invocation to trigger
  • No specific settings changes needed in /config — just opening and closing it is enough

extent analysis

TL;DR

The issue can likely be mitigated by modifying the handling of the /config screen exit and re-entry in Claude Code version 2.1.104.

Guidance

  • Investigate the code responsible for handling the /config screen exit and re-entry to identify potential resource leaks or state inconsistencies that could cause the TUI to freeze.
  • Verify if the issue persists when using a different shell or terminal emulator to rule out environment-specific factors.
  • Consider implementing a temporary workaround, such as automatically restarting Claude Code after a /config session, until a permanent fix can be developed.
  • Review the Claude Code documentation and version history to see if similar issues have been reported or fixed in previous versions.

Example

No code snippet can be provided without more information about the internal workings of Claude Code.

Notes

The provided information suggests a reproducible issue specific to the interaction with the /config screen in Claude Code version 2.1.104 on macOS. However, without access to the source code or more detailed debugging information, it's challenging to provide a definitive solution.

Recommendation

Apply workaround: Given the reproducibility of the issue and the lack of a clear fix, implementing a temporary workaround, such as automatically restarting Claude Code after a /config session, seems prudent until a more permanent solution can be 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