1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-06 03:53:59 +02:00
lazygit/pkg
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
..
app Better CWD check for a git repository. 2020-05-30 00:31:58 +10:00
commands fix TestGitCommandCommit test 2020-07-15 09:41:16 +10:00
config Decouple escaping from quitting 2020-07-18 20:00:48 +10:00
gui Decouple escaping from quitting 2020-07-18 20:00:48 +10:00
i18n Decouple escaping from quitting 2020-07-18 20:00:48 +10:00
tasks big golangci-lint cleanup 2020-03-09 12:23:13 +11:00
test add a helper to search a list for a pattern 2020-02-02 11:29:22 +11:00
theme prevent flicker from bolding background of selected line 2020-05-15 21:12:12 +10:00
updates remove go-getter 2019-11-12 22:58:01 +11:00
utils allow scoped mode where the commits/reflog/stash panels are scoped to a file 2020-03-29 11:37:29 +11:00