status bar: actually display it every second, after updating its data
This commit is contained in:
parent
42dd59852b
commit
be107df7f1
|
@ -1028,6 +1028,8 @@ when hasPrompt:
|
|||
proc statusBarUpdatesPollingLoop() {.async.} =
|
||||
while true:
|
||||
update statusBar
|
||||
erase statusBar
|
||||
render statusBar
|
||||
await sleepAsync(chronos.seconds(1))
|
||||
|
||||
traceAsyncErrors statusBarUpdatesPollingLoop()
|
||||
|
|
Loading…
Reference in New Issue