github.com/lacework-dev/go-moby@v20.10.12+incompatible/pkg/term/deprecated_unix.go (about) 1 // +build !windows 2 3 package term // import "github.com/docker/docker/pkg/term" 4 5 import ( 6 "github.com/moby/term" 7 ) 8 9 // Termios is the Unix API for terminal I/O. 10 // Deprecated: use github.com/moby/term.Termios 11 type Termios = term.Termios 12 13 var ( 14 // ErrInvalidState is returned if the state of the terminal is invalid. 15 ErrInvalidState = term.ErrInvalidState 16 17 // SetWinsize tries to set the specified window size for the specified file descriptor. 18 // Deprecated: use github.com/moby/term.GetWinsize 19 SetWinsize = term.SetWinsize 20 )