github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/term/deprecated_unix.go (about) 1 // +build !windows 2 3 package term // import "github.com/demonoid81/moby/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 )