Don't block when redraw channel becomes full

Fixes #1497
This commit is contained in:
Zachary Yedidia
2020-02-11 20:03:32 -05:00
parent d7e3fc99f1
commit 8224037080
6 changed files with 12 additions and 8 deletions

View File

@@ -430,7 +430,7 @@ func (w *BufWindow) displayBuffer() {
// be another call to UpdateDiff when displayBuffer is called
// during the redraw.
if !synchronous {
screen.DrawChan <- true
screen.Redraw()
}
})
}