gitui icon indicating copy to clipboard operation
gitui copied to clipboard

gitui doesn't respect sttr intr setting

Open crabdancing opened this issue 7 months ago • 2 comments

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.

crabdancing avatar Jun 03 '25 04:06 crabdancing

This seems related to #1976. We haven’t really made progress so far, but I’ll have another look!

cruessler avatar Jun 10 '25 12:06 cruessler

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.

crabdancing avatar Jun 10 '25 22:06 crabdancing

Rereading this, seems like a dupe of #1976. Closing in favor of it.

crabdancing avatar Jun 22 '25 02:06 crabdancing