1
2
3
4
5
6
7
8 package term
9
10 import (
11 "fmt"
12 "runtime"
13 )
14
15 type state struct{}
16
17 func isTerminal(fd int) bool {
18 return false
19 }
20
21 func makeRaw(fd int) (*State, error) {
22 return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
23 }
24
25 func getState(fd int) (*State, error) {
26 return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
27 }
28
29 func restore(fd int, state *State) error {
30 return fmt.Errorf("terminal: Restore not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
31 }
32
33 func getSize(fd int) (width, height int, err error) {
34 return 0, 0, fmt.Errorf("terminal: GetSize not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
35 }
36
37 func readPassword(fd int) ([]byte, error) {
38 return nil, fmt.Errorf("terminal: ReadPassword not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
39 }
40
View as plain text