diff --git a/CHANGELOG.md b/CHANGELOG.md index 617c007..7339b6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** diff --git a/selector.go b/selector.go index e985d1b..0b1e4f7 100644 --- a/selector.go +++ b/selector.go @@ -80,7 +80,7 @@ func selector(data []string, max int, tool, prompt, toolArgs string, null bool) 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 b, err := cmd.Output() if err != nil {