Clear damage on each terminal.Draw call
This commit is contained in:
parent
399d014bff
commit
4bc8ea34bc
|
@ -304,6 +304,8 @@ func (term *Terminal) Draw(ctx *ui.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
term.damage = nil
|
||||
|
||||
if term.focus && !term.closed {
|
||||
if !term.cursorShown {
|
||||
ctx.HideCursor()
|
||||
|
|
Loading…
Reference in New Issue