summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-04-05 20:11:31 -0400
committerDrew DeVault <sir@cmpwn.com>2019-04-05 20:11:31 -0400
commit4bc8ea34bcfb697394b11996945e02ea0c4f6199 (patch)
treee736244dfd5e13072d26ef08e445d8fb79827d0d
parent399d014bff391009aa6f7bb52000e80558db5d4c (diff)
downloadaerc-4bc8ea34bcfb697394b11996945e02ea0c4f6199.tar.gz
Clear damage on each terminal.Draw call
-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()