From aacdc2698f75926ebe64887c0111ca2c502f2cdd Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Mon, 14 Nov 2016 01:12:37 +0100 Subject: [PATCH] Rewind on *View.Clear() --- view.go | 1 + 1 file changed, 1 insertion(+) diff --git a/view.go b/view.go index 3be4ad7..3b14f90 100644 --- a/view.go +++ b/view.go @@ -395,6 +395,7 @@ func (v *View) Clear() { v.tainted = true v.lines = nil + v.readOffset = 0 v.clearRunes() }