package term
import "github.com/docker/docker/pkg/term"
Index ¶
- Variables
- func DisableEcho(fd uintptr, state *State) error
- func IsTerminal(fd uintptr) bool
- func RestoreTerminal(fd uintptr, state *State) error
- func SetWinsize(fd uintptr, ws *Winsize) error
- type State
- type Winsize
Variables ¶
Functions ¶
func DisableEcho ¶
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 ¶
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func SaveState ¶
func SetRawTerminal ¶
type Winsize ¶
func GetWinsize ¶
Source Files ¶
- Version
- v0.10.0
- Published
- Apr 8, 2014
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 1 minute ago –
Tools for package owners.