1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-28 09:08:41 +02:00
lazygit/scripts
Jesse Duffield 845c80721f Decouple escaping from quitting
When a user is not entering text into a prompt, the 'q' key should immediately
quit the application. On the other hand, the 'esc' key should cancel/close/go-back
to the previous context.

If we're at the surface level (nothing to cancel/close) and the user hits the
escape key, the default behaviour is to close the app, however we now have a
`quitOnTopLevelReturn` config key to override this.

I actually think from the beginning we should have made this config option
default to false rather than true which is the default this PR gives it,
but I don't want to anger too many people familiar with the existing behaviour.
2020-07-18 20:00:48 +10:00
..
push_new_patch Swallow errors entirely, instead of assigning and ignoring them 2019-07-27 10:53:19 +10:00
bump_modules.sh bump modules and add bump_modules script 2018-12-18 23:03:26 +11:00
generate_cheatsheet.go Decouple escaping from quitting 2020-07-18 20:00:48 +10:00