summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-04-16 22:13:31 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-04-16 22:13:31 +0900
commitf9225f98e7a4ce1678956b0263ec3b994ada50dd (patch)
tree287e87c7f79cb6ae471dfaa6d5c2ff326f4457e0
parent2db2feea379af344c7289afbd04970e9d6f22a4a (diff)
downloadfzf-f9225f98e7a4ce1678956b0263ec3b994ada50dd.tar.gz
Fix sort control from Terminal
-rw-r--r--src/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 790ccc1b..667d2067 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -723,7 +723,7 @@ func (t *Terminal) Loop() {
t.mutex.Unlock() // Must be unlocked before touching reqBox
if changed {
- t.eventBox.Set(EvtSearchNew, false)
+ t.eventBox.Set(EvtSearchNew, t.sort)
}
for _, event := range events {
t.reqBox.Set(event, nil)