aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/aerc.go b/aerc.go
index 37d9509f..e1a1345b 100644
--- a/aerc.go
+++ b/aerc.go
@@ -241,12 +241,12 @@ func main() {
setWindowTitle()
}
- go ui.Run()
+ go ui.ProcessEvents()
for !ui.ShouldExit() {
for aerc.Tick() {
// Continue updating our internal state
}
- if !ui.Tick() {
+ if !ui.Render() {
// ~60 FPS
time.Sleep(16 * time.Millisecond)
}