github / github/copilot-cli

Ctrl-c has too many overloads, which makes it do unexpected actions

未關閉
#3,620 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

Ctrl-c has too many overloads

### Proposed solution

I'm not sure what would be best here, but Ctrl-c should have only one clear action, not many overloads like "copy", "empty current prompt line" and "cancel current action".

### Example prompts or workflows

Once when I tried to copy some text from a question asked by copilot, it cancelled the question, so I was unable to answer it.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the reported Ctrl-C behavior in the Copilot CLI, including copying text from a question and cancelling or clearing an active prompt. Read the CLI's input-handling entry point and document the intended single action before changing anything. Done means the chosen Ctrl-C behavior is consistent across these workflows and the regression cases are covered.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。