github / github/copilot-cli

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

未关闭
#2,308 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。