Describe the bug
Copilot CLI running in Windows Terminal/WSL refuses to setup Windows Terminal.
✗ No supported terminal detected. `/terminal-setup` is supported only in VS Code, Cursor, Windsurf and Windows Terminal.
The WSL Ubuntu distro automatically sets TERM=xterm-256color. I expect this is somehow related.
The keybinding is installed to the Windows Terminal profile, and if I install the keybinding on Windows Terminal + Powershell, that also fixes the problem in Windows Terminal + WSL. However, it would be great if it works automatically inside Windows Terminal + WSL.
Affected version
GitHub Copilot CLI: 1.0.36 / Windows Terminal: 1.24.10921.0 / WSL Distro: Ubuntu 24.04.4 LTS
Steps to reproduce the behavior
Run /terminal-setup inside Copilot, running in WSL distro on Windows Terminal
Expected behavior
Windows terminal is setup to send correct key sequence for shift + enter.
Additional context
No response
Describe the bug
Copilot CLI running in Windows Terminal/WSL refuses to setup Windows Terminal.
✗ No supported terminal detected. `/terminal-setup` is supported only in VS Code, Cursor, Windsurf and Windows Terminal.The WSL Ubuntu distro automatically sets
TERM=xterm-256color. I expect this is somehow related.The keybinding is installed to the Windows Terminal profile, and if I install the keybinding on Windows Terminal + Powershell, that also fixes the problem in Windows Terminal + WSL. However, it would be great if it works automatically inside Windows Terminal + WSL.
Affected version
GitHub Copilot CLI: 1.0.36 / Windows Terminal: 1.24.10921.0 / WSL Distro: Ubuntu 24.04.4 LTS
Steps to reproduce the behavior
Run
/terminal-setupinside Copilot, running in WSL distro on Windows TerminalExpected behavior
Windows terminal is setup to send correct key sequence for shift + enter.
Additional context
No response