lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Add keybind to cancel confirmation with 'n'

Open pindab0ter opened this issue 1 year ago • 0 comments

In confirmation boxes, you're able to confirm with either Enter or y. Cancelling is done with Esc, but not with n, as you might expect.

I noticed myself trying to dismiss this prompt with n a lot of times and failing, so I added the option to do so.

In my opinion, this doesn't warrant any tests because it only adds a shortcut for confirmation dialogues.

pindab0ter avatar Aug 02 '22 10:08 pindab0ter