diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 09:23:47 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 43a9dc48e01dcc773997df09411d20ed79c1b6bb (patch) | |
tree | c78906f64af424be9dfce90e60c01f744ec8d61d /pkg/config | |
parent | 440eb387d77d27ce5591e5fd8b4e0541d3f8e879 (diff) |
default to not quitting when hitting esc at the top level.
I've been using this config option for years now so I don't think much of it,
but newcomers are going to find it annoying that hitting escape gets you out
of filtering/cherry-picking/patch-building mode, but also quits the app. So
if you want to exit all the modes you're in, you need to take care not to
press the key one too many times or the app will close.
We'll see if anybody gets mad about this change, but I think it's reasonable.
The only downside is that you won't be able to always quit by spamming the escape
key. If you're in a prompt panel, you'll need to hit escape to exit that, and
then 'q' at the top level. Or CTRL+C of course.
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index b9221c01b..377ed05c0 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -325,7 +325,7 @@ func GetDefaultConfig() *UserConfig { Reporting: "undetermined", SplashUpdatesIndex: 0, ConfirmOnQuit: false, - QuitOnTopLevelReturn: true, + QuitOnTopLevelReturn: false, Keybinding: KeybindingConfig{ Universal: KeybindingUniversalConfig{ Quit: "q", |