-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github Copilot CLI - Error: could not prompt: unexpected escape sequence from terminal: ['\x1b' ']'] #9742
Comments
This comment has been minimized.
This comment has been minimized.
I received the same error message, but only if I use screen (4.9.0-1) in vscode (1.88.1). If I use screen in another termina GUI it does not happen. If I use without screen, or with tmux, it does not happen. It even dumps strange characters as well.
|
Hi there! 👋 |
This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue. |
Check for existing issues
Describe the bug / provide steps to reproduce it
Getting error
Error: could not prompt: unexpected escape sequence from terminal: ['\x1b' ']']
when executing commandgh copilot suggest "create a directory"
Steps to reproduce:
install 'gh' using 'brew install gh' https://cli.github.com
install Copilot plugin https://docs.github.com/en/copilot/github-copilot-in-the-cli/using-github-copilot-in-the-cli#installing-copilot-in-the-cli
run command
gh copilot suggest "create a directory"
in Zed terminalEnvironment
macOS: 14.4 (23E214)
Terminal: xterm-256color -zsh
Tried same steps in Mac native terminal & in iterm2 terminal - using same xterm-256color -zsh - that worked. It only fails in Zed terminal.
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: