status bar: actually display it every second, after updating its data

This commit is contained in:
Ștefan Talpalaru 2020-11-25 22:56:52 +01:00 committed by zah
parent 42dd59852b
commit be107df7f1
1 changed files with 2 additions and 0 deletions

View File

@ -1028,6 +1028,8 @@ when hasPrompt:
proc statusBarUpdatesPollingLoop() {.async.} =
while true:
update statusBar
erase statusBar
render statusBar
await sleepAsync(chronos.seconds(1))
traceAsyncErrors statusBarUpdatesPollingLoop()