claude-code - 💡(How to fix) Fix [BUG] /config command causes terminal to freeze/hang when invoked a second time consecutively (v2.1.104) [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#47735Fetched 2026-04-15 06:43:44
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

This only occurs on the second (or subsequent) invocation of /config. The first call works normally. There is no error message, no timeout, and no way to

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using the /config slash command in Claude Code, invoking it a second consecutive time within the same session causes the entire terminal to become completely unresponsive. No input is accepted after this point — the session is effectively frozen and must be force-terminated by closing the terminal window or killing the process externally.

This only occurs on the second (or subsequent) invocation of /config. The first call works normally. There is no error message, no timeout, and no way to recover without restarting the session.

What Should Happen?

The /config command should open the configuration interface successfully on every invocation, regardless of how many times it has been used in the current session. After closing the config menu, it should be possible to invoke /config again without any side effects or degraded behavior.

Error Messages/Logs

Steps to Reproduce

<img width="1048" height="962" alt="Image" src="https://github.com/user-attachments/assets/2dfe453a-fea2-44fb-a00f-56edd3a192b6" />

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.104

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be potentially resolved by investigating and fixing the resource leak or synchronization issue that occurs when the /config command is invoked multiple times in the same session.

Guidance

  • Investigate the code handling the /config command for potential resource leaks or synchronization issues that could cause the terminal to become unresponsive after multiple invocations.
  • Verify if the issue is specific to the Terminal.app on macOS or if it occurs on other terminals and platforms as well.
  • Check for any differences in the system state or configuration between the first and subsequent invocations of the /config command that could contribute to the issue.
  • Consider adding logging or debugging statements to the code to gather more information about the system state and the sequence of events leading up to the freeze.

Example

No code snippet can be provided without more information about the internal implementation of the /config command.

Notes

The issue may be related to the specific implementation of the /config command or the underlying Anthropic API, and more information about the code and the system configuration may be needed to provide a definitive fix.

Recommendation

Apply workaround: The best course of action would be to apply a workaround, such as limiting the number of times the /config command can be invoked in a single session or implementing a restart mechanism to recover from the freeze, until the root cause of the issue can be identified and fixed.

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] /config command causes terminal to freeze/hang when invoked a second time consecutively (v2.1.104) [1 comments, 2 participants]