listen for SIGINT signal instead of exit key bind
- Lenguaje dominante
- Rust
- Estrellas
- 22.5k
- Forks
- 773
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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
Guía de contribución
Línea de trabajo
Comienza siguiendo el modo de terminal sin procesar de GitUI y el manejo actual de la tecla de salida; después, inspecciona cómo se procesan la entrada del terminal y las señales. Reproduce el problema con la configuración de stty proporcionada y verifica que la tecla SIGINT configurada interrumpa GitUI mientras Ctrl+C siga disponible para las asignaciones de teclas del terminal.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- cli, operating-systems
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100