package term
import "github.com/docker/docker/term"
Index ¶
- func IsTerminal(fd uintptr) bool
- func Restore(fd uintptr, state *State) error
- func RestoreTerminal(state *State)
- func SetWinsize(fd uintptr, ws *Winsize) error
- type State
- type Winsize
Functions ¶
func IsTerminal ¶
IsTerminal returns true if the given file descriptor is a terminal.
func Restore ¶
Restore restores the terminal connected to the given file descriptor to a previous state.
func RestoreTerminal ¶
func RestoreTerminal(state *State)
func SetWinsize ¶
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func SetRawTerminal ¶
type Winsize ¶
func GetWinsize ¶
Source Files ¶
- Version
- v0.4.6
- Published
- Jun 22, 2013
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.