mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-15 06:43:47 -05:00
become: Set stdin to /dev/tty
This commit is contained in:
@@ -2876,6 +2876,7 @@ func (t *Terminal) Loop() {
|
||||
if t.history != nil {
|
||||
t.history.append(string(t.input))
|
||||
}
|
||||
util.SetStdin(tui.TtyIn())
|
||||
syscall.Exec(shellPath, []string{shell, "-c", command}, os.Environ())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user