Rewind on *View.Clear()

This commit is contained in:
Roi Martin 2016-11-14 01:12:37 +01:00
parent ba396278de
commit aacdc2698f
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ func (v *View) Clear() {
v.tainted = true v.tainted = true
v.lines = nil v.lines = nil
v.readOffset = 0
v.clearRunes() v.clearRunes()
} }