about summary refs log tree commit diff stats
path: root/lib/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/ui.go')
-rw-r--r--lib/ui/ui.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ui/ui.go b/lib/ui/ui.go
index d3eacf2..8a390f3 100644
--- a/lib/ui/ui.go
+++ b/lib/ui/ui.go
@@ -41,15 +41,18 @@ func Initialize(conf *config.AercConfig,
 		tcEvents:      make(chan tcell.Event, 10),
 		invalidations: make(chan interface{}),
 	}
-	//tb.SetOutputMode(tb.Output256)
 	go (func() {
 		for !state.Exit {
 			state.tcEvents <- screen.PollEvent()
 		}
 	})()
-	go (func() { state.invalidations <- nil })()
+	go (func() {
+		state.invalidations <- nil
+	})()
 	content.OnInvalidate(func(_ Drawable) {
-		go (func() { state.invalidations <- nil })()
+		go (func() {
+			state.invalidations <- nil
+		})()
 	})
 	return &state, nil
 }