deprecated_unix.go 551 B

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