Merge pull request #128 from omar-polo/master

re-render statusbar on every tick
This commit is contained in:
Caleb Bassi 2019-03-22 17:44:27 -07:00 committed by GitHub
commit dac71bfdff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -288,6 +288,9 @@ func eventLoop() {
case <-drawTicker: case <-drawTicker:
if !helpVisible { if !helpVisible {
ui.Render(grid) ui.Render(grid)
if statusbar {
ui.Render(bar)
}
} }
case e := <-uiEvents: case e := <-uiEvents:
switch e.ID { switch e.ID {