Fixes a regression where searches did not clear out previous search highlights

This commit is contained in:
sloum 2020-11-12 20:24:19 -08:00
parent d78e2f4205
commit ee56961b20
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ func (c *client) TakeControlInput() {
} }
err = c.NextSearchItem(0) err = c.NextSearchItem(0)
if err != nil { if err != nil {
c.PageState.History[c.PageState.Position].WrapContent(c.Width-1,(c.Options["theme"] == "color"))
c.Draw() c.Draw()
} }
case ':', ' ': case ':', ' ':