diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-04-05 20:11:31 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-05 20:11:31 -0400 |
commit | 4bc8ea34bcfb697394b11996945e02ea0c4f6199 (patch) | |
tree | e736244dfd5e13072d26ef08e445d8fb79827d0d | |
parent | 399d014bff391009aa6f7bb52000e80558db5d4c (diff) | |
download | aerc-4bc8ea34bcfb697394b11996945e02ea0c4f6199.tar.gz |
Clear damage on each terminal.Draw call
-rw-r--r-- | widgets/terminal.go | 2 |
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() |