Clear damage on each terminal.Draw call

This commit is contained in:
Drew DeVault 2019-04-05 20:11:31 -04:00
parent 399d014bff
commit 4bc8ea34bc
1 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,8 @@ func (term *Terminal) Draw(ctx *ui.Context) {
}
}
term.damage = nil
if term.focus && !term.closed {
if !term.cursorShown {
ctx.HideCursor()