diff options
-rw-r--r-- | app/compose.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/compose.go b/app/compose.go index eae77e65..22d862aa 100644 --- a/app/compose.go +++ b/app/compose.go @@ -19,6 +19,7 @@ import ( "github.com/mattn/go-runewidth" "github.com/pkg/errors" + "git.sr.ht/~rjarry/aerc/commands/mode" "git.sr.ht/~rjarry/aerc/completer" "git.sr.ht/~rjarry/aerc/config" "git.sr.ht/~rjarry/aerc/lib" @@ -120,6 +121,8 @@ func NewComposer( return nil, err } + mode.NoQuit() + return c, nil } @@ -723,6 +726,7 @@ func (c *Composer) Close() { c.editor.Destroy() c.editor = nil } + mode.NoQuitDone() } func (c *Composer) Bindings() string { |