1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-06 03:53:59 +02:00
lazygit/pkg/i18n
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
..
dutch.go prompt to create new branch if branch not found 2020-07-17 09:20:50 +10:00
english.go Decouple escaping from quitting 2020-07-18 20:00:48 +10:00
i18n_test.go Add full stops to new comments. 2018-11-30 13:47:14 +13:00
i18n.go switch to Go modules 2019-09-01 21:24:03 +10:00
polish.go prompt to create new branch if branch not found 2020-07-17 09:20:50 +10:00