mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 06:46:10 +00:00
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…
x
Reference in New Issue
Block a user