diff options
Diffstat (limited to 'widgets/terminal.go')
-rw-r--r-- | widgets/terminal.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go index 39cd9f24..e0a76ca8 100644 --- a/widgets/terminal.go +++ b/widgets/terminal.go @@ -13,7 +13,6 @@ import ( ) type Terminal struct { - ui.Invalidatable closed bool cmd *exec.Cmd ctx *ui.Context @@ -71,7 +70,7 @@ func (term *Terminal) Destroy() { } func (term *Terminal) Invalidate() { - term.DoInvalidate(term) + ui.Invalidate() } func (term *Terminal) Draw(ctx *ui.Context) { |