altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.74k stars 89 forks source link

An option to ask before quitting Gitu #63

Closed frank-lenormand closed 5 months ago

frank-lenormand commented 6 months ago

Hi,

Whenever in a view that’s nested several submenus deep, I tend to hammer down the q (or esc) key.

If I hit the key one too many times, Gitu ends up quitting.

I would like it to (optionally) ask for confirmation before quitting.

Alternatives:

Thanks!

altsem commented 6 months ago

This could be made configurable, could be a y/n prompt as well!

jondysinger commented 5 months ago

I'd like to volunteer to tackle this feature. I created a pull request (#89) to implement the quit confirmation.

altsem commented 5 months ago

Available as of v0.9.0!