github / github/copilot-cli

Ctrl+E during a question expands text; expected to move to end-of-line

Open
#2,308 0 comments 0 reactions 0 assignees View on GitHub
area:input-keyboard area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

When Copilot is doing `ask_question` and I'm providing an answer, if I type Ctrl+E then some text above the question becomes expanded. I would have expected Ctrl+E to move to the end of the line, as it normally does.

### Affected version

GitHub Copilot CLI 1.0.11.

### Steps to reproduce the behavior

Precondition: there are some large outputs earlier in the session.
Prompt copilot: `ask me what my favourite colour is?`
Start typing an answer.
Use Ctrl+A to move cursor to the start of the line: works.
Use Ctrl+E to move cursor to the end of the line: fails: it expands the large outputs

### Expected behavior

I expect the cursor to move to the end of the line

### Additional context

Windows, terminal shell, copilot started from cmd.exe

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.