disable timed display refresh while scrolling

This commit is contained in:
Bradley Cicenas
2017-06-12 13:52:45 +00:00
parent a48a9031cc
commit 671c944272
2 changed files with 15 additions and 5 deletions

View File

@@ -62,8 +62,11 @@ func ExpandView(c *container.Container) {
}
func RefreshDisplay() {
needsClear := cursor.RefreshContainers()
RedrawRows(needsClear)
// skip display refresh during scroll
if !cursor.isScrolling {
needsClear := cursor.RefreshContainers()
RedrawRows(needsClear)
}
}
func Display() bool {