diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 09:23:59 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | b3a7acbdad7d11df12fce95aff8aa95eff7d0d6a (patch) | |
tree | 400f9a497fdb2eb83551d0e8df917f054fffd6a4 /pkg/gui/quitting.go | |
parent | 88ae550b93020de7e4b232b3ed9a26606c7caa83 (diff) |
more standardising modes
Diffstat (limited to 'pkg/gui/quitting.go')
-rw-r--r-- | pkg/gui/quitting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/quitting.go b/pkg/gui/quitting.go index da755c4dc..297b4a474 100644 --- a/pkg/gui/quitting.go +++ b/pkg/gui/quitting.go @@ -43,7 +43,7 @@ func (gui *Gui) handleTopLevelReturn(g *gocui.Gui, v *gocui.View) error { for _, mode := range gui.modeStatuses() { if mode.isActive() { - return mode.onReset() + return mode.reset() } } |