github / github/copilot-cli

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

オープン
#1,422 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:input-keyboard
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。