Skip to content

Commit

Permalink
Rewind on *View.Clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
jroimartin committed Nov 14, 2016
1 parent ba39627 commit aacdc26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions view.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ func (v *View) Clear() {
v.tainted = true

v.lines = nil
v.readOffset = 0
v.clearRunes()
}

Expand Down

0 comments on commit aacdc26

Please sign in to comment.