Ctrl+E during a question expands text; expected to move to end-of-line
- 主要語言
- 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
貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100