[Bug] Terminal setup incompatible detection logic conflicts between Visual Studio and Windows Terminal

Resolved 💬 3 comments Opened Dec 13, 2025 by rhm Closed Dec 17, 2025

Bug Description
Claude code says it cannot run /terminal-setup from 'visualstudio' when I'm actually running it in Windows Terminal. I guess it's just detecting an environment variable that visual studio sets up. So then I tried running it from the Windows default powershell config and now it sais "Terminal setup cannot be run from window-terminal"! Right below is the message telling me I need to run it from Windows Terminal on Windows.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.69
  • Feedback ID: c39557cb-e2ea-44d0-a544-aaf3f02bdb9b

Errors

[]

View original on GitHub ↗

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