mirror of
https://github.com/junegunn/fzf.git
synced 2026-01-09 13:02:35 +08:00
22 lines
270 B
Go
22 lines
270 B
Go
//go:build windows
|
|
|
|
package tui
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
func ttyname() string {
|
|
return ""
|
|
}
|
|
|
|
// TtyIn on Windows returns os.Stdin
|
|
func TtyIn() (*os.File, error) {
|
|
return os.Stdin, nil
|
|
}
|
|
|
|
// TtyOut on Windows returns nil
|
|
func TtyOut() (*os.File, error) {
|
|
return nil, nil
|
|
}
|