listen for SIGINT signal instead of exit key bind
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 773
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
Remap Ctrl+Q to quit, with Ctrl+C being now available for copy/paste keybindings in terminal config:
```console
stty intr ^Q
stty -ixon
stty -ixoff
```
**Expected behavior**
Ctrl+Q should now be interpreted as SIGINT. This works for most applications, but because GitUI enables raw terminal mode, it is up to GitUI to manually respect system settings.
**Context (please complete the following information):**
- OS/Distro + Version: NixOS 23.11
- GitUI Version: gitui 0.24.3
- Rust version: unknown
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando la modalità terminale raw di GitUI e la gestione attuale del tasto di uscita, quindi esamina come vengono elaborati l'input del terminale e i segnali. Riproduci il problema con la configurazione stty fornita e verifica che il tasto SIGINT configurato interrompa GitUI, mentre Ctrl+C rimanga disponibile per le associazioni dei tasti del terminale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100