diff --git a/widgets/terminal.go b/widgets/terminal.go index 5c67e32..cd90ed7 100644 --- a/widgets/terminal.go +++ b/widgets/terminal.go @@ -86,10 +86,6 @@ func (term *Terminal) Destroy() { } func (term *Terminal) Invalidate() { - term.invalidate() -} - -func (term *Terminal) invalidate() { term.DoInvalidate(term) } @@ -166,7 +162,7 @@ func (term *Terminal) Focus(focus bool) { _, x, y, style := term.vterm.GetCursor() term.ctx.SetCursor(x, y) term.ctx.SetCursorStyle(style) - term.invalidate() + term.Invalidate() } } }