github / github/copilot-cli

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

Aperta
#1,422 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:input-keyboard
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.