From 8e340f3ee8e1320aaea7f010cadb84ba0d094b49 Mon Sep 17 00:00:00 2001 From: Cheney Date: Sun, 21 Feb 2016 10:14:19 +0800 Subject: [PATCH] #30 fixed search history crash --- search.go | 1 + 1 file changed, 1 insertion(+) diff --git a/search.go b/search.go index 1b82ae4..fdcab37 100644 --- a/search.go +++ b/search.go @@ -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, } }