forked from mirror/readline
fix state
This commit is contained in:
parent
41404cd3f9
commit
2a02950868
|
@ -103,6 +103,7 @@ func (o *opSearch) ExitSearchMode(revert bool) {
|
||||||
o.history.current = o.source
|
o.history.current = o.source
|
||||||
o.buf.Set(o.history.showItem(o.history.current.Value))
|
o.buf.Set(o.history.showItem(o.history.current.Value))
|
||||||
}
|
}
|
||||||
|
o.state = S_STATE_FOUND
|
||||||
o.inMode = false
|
o.inMode = false
|
||||||
o.source = nil
|
o.source = nil
|
||||||
o.data = nil
|
o.data = nil
|
||||||
|
|
Loading…
Reference in New Issue