commit 4bc8ea34bcfb697394b11996945e02ea0c4f6199 parent 399d014bff391009aa6f7bb52000e80558db5d4c Author: Drew DeVault <sir@cmpwn.com> Date: Fri, 5 Apr 2019 20:11:31 -0400 Clear damage on each terminal.Draw call Diffstat:
M | widgets/terminal.go | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/widgets/terminal.go b/widgets/terminal.go @@ -304,6 +304,8 @@ func (term *Terminal) Draw(ctx *ui.Context) { } } + term.damage = nil + if term.focus && !term.closed { if !term.cursorShown { ctx.HideCursor()