about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--widgets/terminal.go2
1 files changed, 2 insertions, 0 deletions
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()