#30 fixed search history crash

This commit is contained in:
Cheney 2016-02-21 10:14:19 +08:00
parent 8181d5ed14
commit 8e340f3ee8
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ func newOpSearch(w io.Writer, buf *RuneBuffer, history *opHistory, cfg *Config)
return &opSearch{
w: w,
buf: buf,
cfg: cfg,
history: history,
}
}