diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-28 19:25:28 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-28 19:27:31 +0900 |
| commit | 782de139c8edd8c3e77022ddf71648db1b344079 (patch) | |
| tree | 03f32fc90d0215458ab1b51b47aa5c8e41308722 /src/proxy.go | |
| parent | 32eb32ee5e80ab4e10ead9bc6db8c6ad59cf509d (diff) | |
| download | fzf-782de139c8edd8c3e77022ddf71648db1b344079.tar.gz | |
[vim] Native --tmux fix for Neovim
Diffstat (limited to 'src/proxy.go')
| -rw-r--r-- | src/proxy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proxy.go b/src/proxy.go index 5ee7317c..bf7b78d5 100644 --- a/src/proxy.go +++ b/src/proxy.go @@ -59,8 +59,8 @@ func runProxy(commandPrefix string, cmdBuilder func(temp string) *exec.Cmd, opts }() var command string - commandPrefix += ` --proxy-script "$0"` - if opts.Input == nil && util.IsTty(os.Stdin) { + commandPrefix += ` --no-force-tty-in --proxy-script "$0"` + if opts.Input == nil && (opts.ForceTtyIn || util.IsTty(os.Stdin)) { command = fmt.Sprintf(`%s > %q`, commandPrefix, output) } else { input, err := fifo("proxy-input") |
