github / github/copilot-cli

CTRL+C cancels the current operation even though the UI states it is ESC

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

描述

### Describe the bug

It happened to me multiple times that I accidentally canceled the current operation!

When an operation is running it says `Esc to cancel` but also `CTRL+c` cancel the operation!

This is really annoying because:

1. CTRL+c is a bad choice anyways because it classes with the very familiar "copy" action 99,99% of applications and os use with this shortcut, so one easily mess it up by accident with the terminal having focus and one wants to copy something.
2. CTRL+c in "non working mode" means clear the prompt/command input (and 2x CTRL+c is actually `/exit`)

Please fix that or add at least a confirmation that the user _really want to cancel_ the operation...

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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