fix(selector): revert 6a818c80c4

Breaks fzf, and doesn't seem to be needed anymore
This commit is contained in:
yory8 2020-05-10 22:16:53 +02:00
parent b069dfe4f6
commit ef9e6bece2
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
# Next
**Notable bug fixes**
- fzf couldn't recover the clipboard content in some cases
# 1.5.1 # 1.5.1
**Notable bug fixes** **Notable bug fixes**

View file

@ -80,7 +80,7 @@ func selector(data []string, max int, tool, prompt, toolArgs string, null bool)
sep = "\000" sep = "\000"
} }
cmd := exec.Cmd{Path: bin, Args: args, Stdin: strings.NewReader(strings.Join(processed, sep) + "\n")} cmd := exec.Cmd{Path: bin, Args: args, Stdin: strings.NewReader(strings.Join(processed, sep))}
cmd.Stderr = os.Stderr // let stderr pass to console cmd.Stderr = os.Stderr // let stderr pass to console
b, err := cmd.Output() b, err := cmd.Output()
if err != nil { if err != nil {