Skip to content

Claude Code exits whenever the window size changes

Quick fix

Updating the relevant upstream component restored window resizing; the reporter confirmed the upstream update resolved the issue.

Error output
cmd.exe 和 claude.exe 立即退出。
English translation

cmd.exe and claude.exe exit immediately.

In CC Switch v3.18.0 on Windows, starting Claude Code from a Provider card using >_ caused cmd.exe and claude.exe to exit immediately when the window was maximized, restored, or reduced. Window resizing worked normally when claude was run directly in a terminal.

When closing the issue, the maintainer noted that the reporter had confirmed an upstream update resolved the terminal exit after window resizing, with no subsequent reproduction reports. The original post did not specify the upstream version or component name, so a more precise version range cannot be provided.

  1. Update the relevant upstream component, then start Claude Code from the Provider card and test whether maximizing and restoring/reducing the window still causes an exit.

ToolClaude Code
Version3.18.0(报告受影响版本)
PlatformsWindows

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.