github / github/copilot-cli

CTRL+C is a bit too efficient - cancel current running command - not whole session

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

描述

### Describe the bug

- stop prompting to use "copilot fg" when I accidentally exit copilot - it does not work. And please - try to find a
way to show "Are you sure you want to exit" when a ctrl+c is entered too many times - cancelling a command should not be
treated as an exit - please use CTRL+D for exit

### Affected version

GitHub Copilot CLI 1.0.43.

### Steps to reproduce the behavior

CTRL+C too many times

### Expected behavior

Just cancel the running command

Use CTRL+D for exit

Stop issuing prompt "copilot fg" to resume - it does nothing

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

重現 GitHub Copilot CLI 1.0.43 中重複按下 CTRL+C 時的行為,並追蹤命令取消、工作階段結束及 "copilot fg" 提示的處理。完成的標準是:CTRL+C 只取消正在執行的命令,重複按下時提供退出確認而不是立即退出,CTRL+D 可以退出,並移除誤導性的恢復提示。

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

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
45/100

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

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