github / github/copilot-cli

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

Aberta
#2,308 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:input-keyboard area:terminal-rendering
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Reproduce the issue in GitHub Copilot CLI 1.0.11 on Windows from cmd.exe, using ask_question after producing large earlier outputs. Start by tracing the question input handling and Ctrl-key mapping; done means Ctrl+E moves the cursor to the end of the answer line without expanding earlier output.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
68/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.