github / github/copilot-cli

Copilot in integrated VS Code Terminal shifts cursor into a file and out of terminal

Open
#3,410 1 comment 0 reactions 0 assignees View on GitHub
area:input-keyboard
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

Sometimes, when user is working out of the terminal with copilot CLI, the active cursor will jump to a file that copilot is working on.

This is disruptive because when it is time to type out the next prompt, the prompt will be entered into the `.md` file by default.

This is hinders the user from experiencing a seamless flow. And does not occur when working with Claude Code

### Affected version

_No response_

### Steps to reproduce the behavior

1. Type prompt into Copilot that results in code change in VS Code integrated terminal

### Expected behavior

Cursor does not leave active window within VS Code

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.