github / github/copilot-cli

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

Aperta
#2,308 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:input-keyboard area:terminal-rendering
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.