gitui-org / gitui-org/gitui

listen for SIGINT signal instead of exit key bind

Open
#1,976 13 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
22.5k
Forks
773
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.