m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Kill running preview process after 500ms when focus has changed

Close #1383
Close #1384
This commit is contained in:
Junegunn Choi
2018-09-27 15:27:08 +09:00
parent 27c40dc6b0
commit 0d748a0699
5 changed files with 82 additions and 18 deletions

View File

@@ -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