mirror of
https://github.com/rivo/tview.git
synced 2025-04-24 13:48:56 +08:00
Setting time of last redraw.
This commit is contained in:
parent
e8d1520774
commit
3a5c6317e4
@ -268,6 +268,7 @@ EventLoop:
|
||||
continue
|
||||
}
|
||||
width, height = newWidth, newHeight
|
||||
lastRedraw = time.Now()
|
||||
screen.Clear()
|
||||
a.draw()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user