aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/terminal.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/terminal.go')
-rw-r--r--widgets/terminal.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go
index d627c628..2c279556 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()