Clear damage on each terminal.Draw call
This commit is contained in:
parent
399d014bff
commit
4bc8ea34bc
1 changed files with 2 additions and 0 deletions
|
@ -304,6 +304,8 @@ func (term *Terminal) Draw(ctx *ui.Context) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
term.damage = nil
|
||||||
|
|
||||||
if term.focus && !term.closed {
|
if term.focus && !term.closed {
|
||||||
if !term.cursorShown {
|
if !term.cursorShown {
|
||||||
ctx.HideCursor()
|
ctx.HideCursor()
|
||||||
|
|
Loading…
Reference in a new issue