diff options
Diffstat (limited to 'aerc.go')
-rw-r--r-- | aerc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aerc.go b/aerc.go index 25a8de6..5b6f9d7 100644 --- a/aerc.go +++ b/aerc.go @@ -73,7 +73,7 @@ func main() { continue } } else if _, ok := err.(commands.ErrorExit); ok { - ui.Exit = true + ui.Exit() return nil } else if err != nil { return err @@ -90,7 +90,7 @@ func main() { } defer ui.Close() - for !ui.Exit { + for !ui.ShouldExit() { if !ui.Tick() { // ~60 FPS time.Sleep(16 * time.Millisecond) |