gitui doesn't respect sttr intr setting
Describe the bug
gitui does not respect your interrupt key setting. I'm not sure if it's currently configurable, but it's hardcoded to at least default to Ctrl+C. This is Surprising to users.
To Reproduce Steps to reproduce the behavior:
mkdir test-git-dir
cd test-git-dir
git init
sttr intr ^Q # set interrupt key to Ctrl+Q
gitui
Expected behavior
Expected gitui to quit. Instead, Ctrl+C quits.
Context (please complete the following information):
- OS/Distro + Version: NixOS 24.11 (Vicuna)
- GitUI Version gitui 0.26.3
- Rust version: N/A (pulled precompiled from NixOS cache)
Also tested against both Fish and Bash on wezterm.
This seems related to #1976. We haven’t really made progress so far, but I’ll have another look!
oh, damn. That was so long ago I actually totally forgot about it. I tried searching for prior issues, and it didn't come up, either.
Rereading this, seems like a dupe of #1976. Closing in favor of it.