1//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !zos && !windows && !solaris && !plan9
2// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!zos,!windows,!solaris,!plan9
3
4package term
5
6import (
7 "fmt"
8 "runtime"
9)
10
11type state struct{}
12
13func isTerminal(fd uintptr) bool {
14 return false
15}
16
17func makeRaw(fd uintptr) (*State, error) {
18 return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
19}
20
21func getState(fd uintptr) (*State, error) {
22 return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
23}
24
25func restore(fd uintptr, state *State) error {
26 return fmt.Errorf("terminal: Restore not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
27}
28
29func getSize(fd uintptr) (width, height int, err error) {
30 return 0, 0, fmt.Errorf("terminal: GetSize not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
31}
32
33func setState(fd uintptr, state *State) error {
34 return fmt.Errorf("terminal: SetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
35}
36
37func readPassword(fd uintptr) ([]byte, error) {
38 return nil, fmt.Errorf("terminal: ReadPassword not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
39}