summaryrefslogtreecommitdiffstats
path: root/src/core.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-07-01 01:13:15 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-07-01 01:13:15 +0900
commit07ef2b051ccdc6917b9b65d157df3ebc8f3ff0de (patch)
treef33e2d3cba9e96d18e6d45bada5580a5fd0be0a2 /src/core.go
parent3fc795340d7787d1c64bfe755965d86370ca687b (diff)
Print [ERROR] on info line when the default command failed
With zero result. Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311869805
Diffstat (limited to 'src/core.go')
-rw-r--r--src/core.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.go b/src/core.go
index 6c3b321e..a528dbb6 100644
--- a/src/core.go
+++ b/src/core.go
@@ -228,7 +228,7 @@ func Run(opts *Options, revision string) {
case EvtReadNew, EvtReadFin:
reading = reading && evt == EvtReadNew
snapshot, count := chunkList.Snapshot()
- terminal.UpdateCount(count, !reading)
+ terminal.UpdateCount(count, !reading, value.(bool))
matcher.Reset(snapshot, terminal.Input(), false, !reading, sort)
case EvtSearchNew: