From 4bc8ea34bcfb697394b11996945e02ea0c4f6199 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 5 Apr 2019 20:11:31 -0400 Subject: [PATCH] Clear damage on each terminal.Draw call --- widgets/terminal.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/terminal.go b/widgets/terminal.go index d627c62..2c27955 100644 --- 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()