4

I normally have a pretty good experience with Copilot X, but recently they added a feature that whenever something running on the terminal fails (including when manually terminating it with Ctrl + C), I get this annoying "blue stars" icon that is meant to explain the failure with Copilot. But it also inserts some kind of new line in my terminal, so, for example, if I press "arrow up" to repeat the last command (which I so often do) it writes ^[[A instead of navigating the last commands.

enter image description here

If at the very least the explanations were good, it would maybe be bearable, but it doesn't even work well for that. And I can't find a way to disable just that feature, and not Copilot entirely, which I do use.

3 Answers 3

7

I'm also getting gibberish text on the Terminal because of Copilot injecting some characters there after each command. I'm using Bash on Windows with Oh My Posh prompt theme.

I was able to disable Copilot just in the terminal by disabling shell integration setting: terminal.integrated.shellIntegration.enabled

After this you will lose the shell integration like switching to correct folder when terminal is started but at least this made the Terminal usable again. Hopefully there will be a feature to disable Copilot just in the terminal in the future.

Sign up to request clarification or add additional context in comments.

1 Comment

The "terminal.integrated.shellIntegration.enabled": false setting resolved for me unexplained crashes of VS Code when the terminal had a lot of output or if the terminal was cleared.
2

"Disable shell integrations" worked for me. I don't know what other impact disabling this will have, but honestly having to deal with the freeze and lag in the terminal is a huge productivity killer.

https://i.sstatic.net/pzidU6tf.png

Comments

1

It seems there is no setting for this, and maybe this is related to this API proposal (https://github.com/microsoft/vscode/issues/162950#issuecomment-1668020425).

If that's the case, I suggest you to open an issue in Copilot Chat repo (https://github.com/microsoft/vscode-copilot-release/issues), in order the team to be aware of the behavior you are dealing with.

Hope this helps

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.