aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/terminal.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go
index 5c67e32a..cd90ed7a 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()
}
}
}