github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/pkg/term/deprecated_unix.go (about)

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