mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-08 16:12:09 -07: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