claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] /terminal-setup command

Open FlorentCoulonBS opened this issue 10 months ago • 1 comments

Preflight Checklist

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

What's Wrong?

When I launch this command on Windows terminal, it doesn't switch to shift + Entrée and remain on ctrl with this strange message. Please advice :

/terminal-setup ⎿ Terminal setup cannot be run from windows-terminal.

 This command configures a convenient Shift+Enter shortcut for multi-line prompts.
 Note: You can already use backslash ( + return to add newlines.

 To set up the shortcut (optional):
 1. Exit tmux/screen temporarily
 2. Run /terminal-setup directly in one of these terminals:
 • Windows: Windows Terminal
 • IDE: VSCode, Cursor, Windsurf, Zed
 • Other: Alacritty, Warp
 3. Return to tmux/screen - settings will persist

 Note: iTerm2, WezTerm, Ghostty, and Kitty support Shift+Enter natively.

What Should Happen?

when you launch this command, the keyboard should switch to shift + Enter instead of ctrl + Enter

Error Messages/Logs

⎿  Terminal setup cannot be run from windows-terminal.

     This command configures a convenient Shift+Enter shortcut for multi-line prompts.
     Note: You can already use backslash ( + return to add newlines.

     To set up the shortcut (optional):
     1. Exit tmux/screen temporarily
     2. Run /terminal-setup directly in one of these terminals:
     • Windows: Windows Terminal
     • IDE: VSCode, Cursor, Windsurf, Zed
     • Other: Alacritty, Warp
     3. Return to tmux/screen - settings will persist

Steps to Reproduce

Launch /terminal-setup

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.7 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

FlorentCoulonBS avatar Jan 14 '26 12:01 FlorentCoulonBS

Facing the same issue. Consider that the operating system should be windows and terminal should be windows terminal. Also consider that the info response is self-conflicting:

Terminal setup cannot be run from windows-terminal.

and then

  1. Run /terminal-setup directly in one of these terminals: • Windows: Windows Terminal

DavidTeju avatar Jan 14 '26 23:01 DavidTeju

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] avatar Feb 27 '26 10:02 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Mar 08 '26 14:03 github-actions[bot]