diff --git a/cmd/micro/bindings.go b/cmd/micro/bindings.go index ed866420..12dbc8d4 100644 --- a/cmd/micro/bindings.go +++ b/cmd/micro/bindings.go @@ -949,6 +949,9 @@ func (v *View) CommandMode() bool { // is the last view // However, since micro only supports one view for now, it doesn't really matter func (v *View) Quit() bool { + if v.helpOpen { + return v.ToggleHelp() + } // Make sure not to quit if there are unsaved changes if views[mainView].CanClose("Quit anyway? (yes, no, save) ") { screen.Fini()