fix(selector): revert 6a818c80c4
Breaks fzf, and doesn't seem to be needed anymore
This commit is contained in:
parent
b069dfe4f6
commit
ef9e6bece2
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
||||||
# 1.5.1
|
# Next
|
||||||
|
|
||||||
|
**Notable bug fixes**
|
||||||
|
|
||||||
|
- fzf couldn't recover the clipboard content in some cases
|
||||||
|
|
||||||
|
# 1.5.1
|
||||||
|
|
||||||
**Notable bug fixes**
|
**Notable bug fixes**
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue