summaryrefslogtreecommitdiff
path: root/src/reader.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2018-09-27 15:27:08 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2018-09-28 10:33:52 +0900
commit0d748a0699760003444efca219eb4bb245996008 (patch)
tree791e4849d9bdfb06d013dac96c2197fa2739c0e5 /src/reader.go
parent27c40dc6b0cc0402b1602b76202be80841329a1d (diff)
downloadfzf-0d748a0699760003444efca219eb4bb245996008.tar.gz
Kill running preview process after 500ms when focus has changed
Close #1383 Close #1384
Diffstat (limited to 'src/reader.go')
-rw-r--r--src/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.go b/src/reader.go
index 5fd6d876..b418f549 100644
--- a/src/reader.go
+++ b/src/reader.go
@@ -103,7 +103,7 @@ func (r *Reader) readFromStdin() bool {
}
func (r *Reader) readFromCommand(shell string, cmd string) bool {
- listCommand := util.ExecCommandWith(shell, cmd)
+ listCommand := util.ExecCommandWith(shell, cmd, false)
out, err := listCommand.StdoutPipe()
if err != nil {
return false