Describe the bug
Pop-up windows don't disable shortcuts, e.g. the prompt Are you sure you want to quit? allows me to press z and trigger undo. Or even press x to bring up the menu.
To Reproduce
Steps to reproduce the behavior:
Set confirmOnQuit: true in your config
Press q in lazygit
Press x or z
It does the action that the key is mapped to
Expected behavior
Pressing things not relevant to the pop-up shouldn't do anything
Screenshots
Desktop (please complete the following information):
OS: archlinux
Lazygit Version 0.31.4
The last commit id if you built project from sources: N/A
Additional context
The reason I press z instead of y when quitting is because I often switch between two keyboard layouts and forget what's the current one I'm using.
Describe the bug Pop-up windows don't disable shortcuts, e.g. the prompt
Are you sure you want to quit?
allows me to pressz
and triggerundo
. Or even pressx
to bring up the menu.To Reproduce Steps to reproduce the behavior:
confirmOnQuit: true
in your configq
inlazygit
x
orz
Expected behavior Pressing things not relevant to the pop-up shouldn't do anything
Screenshots
Desktop (please complete the following information):
Additional context The reason I press
z
instead ofy
when quitting is because I often switch between two keyboard layouts and forget what's the current one I'm using.