diff --git a/view.go b/view.go index 3b14f90..0bf27e1 100644 --- a/view.go +++ b/view.go @@ -395,6 +395,7 @@ func (v *View) Clear() { v.tainted = true v.lines = nil + v.viewLines = nil v.readOffset = 0 v.clearRunes() }