mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-16 15:23:48 -05:00
become: Set stdin to /dev/tty
This commit is contained in:
@@ -81,3 +81,7 @@ func SetNonblock(file *os.File, nonblock bool) {
|
||||
func Read(fd int, b []byte) (int, error) {
|
||||
return syscall.Read(syscall.Handle(fd), b)
|
||||
}
|
||||
|
||||
func SetStdin(file *os.File) {
|
||||
// No-op
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user