package term
import "github.com/opencontainers/runc/Godeps/_workspace/src/github.com/docker/docker/pkg/term"
Index ¶
- Variables
- func DisableEcho(fd uintptr, state *State) error
- func GetFdInfo(in interface{}) (uintptr, bool)
- func IsTerminal(fd uintptr) bool
- func RestoreTerminal(fd uintptr, state *State) error
- func SetWinsize(fd uintptr, ws *Winsize) error
- func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer)
- type State
- func MakeRaw(fd uintptr) (*State, error)
- func SaveState(fd uintptr) (*State, error)
- func SetRawTerminal(fd uintptr) (*State, error)
- type Termios
- type Winsize
Variables ¶
Functions ¶
func DisableEcho ¶
func GetFdInfo ¶
func IsTerminal ¶
IsTerminal returns true if the given file descriptor is a terminal.
func RestoreTerminal ¶
Restore restores the terminal connected to the given file descriptor to a previous state.
func SetWinsize ¶
func StdStreams ¶
func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer)
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func MakeRaw ¶
MakeRaw put the terminal connected to the given file descriptor into raw mode and returns the previous state of the terminal so that it can be restored.
func SaveState ¶
func SetRawTerminal ¶
type Termios ¶
type Winsize ¶
func GetWinsize ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Godeps/_workspace/src/github.com/docker/docker/pkg/term/winconsole |
- Version
- v0.0.4
- Published
- Sep 11, 2015
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 20 minutes ago –
Tools for package owners.