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 摘要。