github / github/copilot-cli

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

Offen
#1,422 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:input-keyboard
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.