[Bug] /terminal-setup contradictory error message for Windows Terminal

Resolved 💬 3 comments Opened Jan 22, 2026 by Meme-Theory Closed Jan 26, 2026

Bug Description
Issue: /terminal-setup contradictory error message

Component: Claude Code CLI - /terminal-setup command

Version: Claude Code (current release as of 2026-01-22)

Platform: Windows 11, Windows Terminal

Summary: Error message rejects Windows Terminal while simultaneously listing it as supported.

Steps to Reproduce:

  1. Open Windows Terminal
  2. Run Claude Code
  3. Execute /terminal-setup

Actual Result:
Terminal setup cannot be run from windows-terminal.
...
To set up the shortcut (optional):
...

  • Windows: Windows Terminal

Expected Result: Either:

  • Accept Windows Terminal and run setup, OR
  • Display consistent error message that doesn't list Windows Terminal as supported

Analysis: Terminal detection identifies "windows-terminal" but error handling logic contradicts the supported terminals list.
Possible string mismatch between detection identifier and validation check.

Severity: Low (cosmetic/UX - workaround exists via backslash+Enter)

Workaround: Use \ + Enter for multi-line input.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.15
  • Feedback ID: dd961633-55cf-4e27-82fc-57c4e9bfd298

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir 'C:\\ProgramData\\ClaudeCode\\.claude\\skills'\n    at readdirSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:1903)\n    at LX (B:/~BUN/root/claude.exe:11:34882)\n    at readdirSync (B:/~BUN/root/claude.exe:12:1864)\n    at WU$ (B:/~BUN/root/claude.exe:1480:380)\n    at WU$ (B:/~BUN/root/claude.exe:1480:1350)\n    at <anonymous> (B:/~BUN/root/claude.exe:1480:4440)\n    at <anonymous> (B:/~BUN/root/claude.exe:1480:5171)\n    at A (B:/~BUN/root/claude.exe:11:7245)\n    at lWE (B:/~BUN/root/claude.exe:4123:4342)\n    at async <anonymous> (B:/~BUN/root/claude.exe:5410:2332)","timestamp":"2026-01-22T13:34:55.517Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗