summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/tui.go b/tui.go
index 36a34bb..f744825 100644
--- a/tui.go
+++ b/tui.go
@@ -324,8 +324,11 @@ func init() {
SetDynamicColors(true).
SetRegions(true).
SetChangedFunc(func() {
+ // INFO:
// https://github.com/rivo/tview/wiki/Concurrency#event-handlers
- // app.Draw() // already called by default per tview specs
+ // although already called by default per tview specs
+ // calling it explicitly makes text streaming to look more smooth
+ app.Draw()
})
notificationWidget = tview.NewTextView().
SetTextAlign(tview.AlignCenter).