m/fzf
1
0
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:
Junegunn Choi
2023-02-14 23:21:34 +09:00
parent 9e9c0ceaf4
commit 4e305eca26
3 changed files with 11 additions and 0 deletions

View File

@@ -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
}