Merge pull request #31 from chzyer/hotfix/fix_search_history

fixed search history crash
This commit is contained in:
Chzyer 2016-02-21 10:18:56 +08:00
commit 2978660421
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{ return &opSearch{
w: w, w: w,
buf: buf, buf: buf,
cfg: cfg,
history: history, history: history,
} }
} }