Versions in this module Expand all Collapse all v0 v0.1.4 Apr 26, 2020 v0.1.0 Apr 26, 2020 Changes in this version + var ASCII = []string + var ErrInvalidState = errors.New("Invalid terminal state") — darwin/amd64, js/wasm, linux/amd64 + func DisableEcho(fd uintptr, state *State) error + func GetFdInfo(in interface{}) (uintptr, bool) + func IsTerminal(fd uintptr) bool + func NewEscapeProxy(r io.Reader, escapeKeys []byte) io.Reader + func RestoreTerminal(fd uintptr, state *State) error + func SetWinsize(fd uintptr, ws *Winsize) error — darwin/amd64, js/wasm, linux/amd64 + func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) + func ToBytes(keys string) ([]byte, error) + type EscapeError struct + func (EscapeError) Error() string + type State struct + func MakeRaw(fd uintptr) (*State, error) + func SaveState(fd uintptr) (*State, error) + func SetRawTerminal(fd uintptr) (*State, error) + func SetRawTerminalOutput(fd uintptr) (*State, error) + type Termios unix.Termios — darwin/amd64, linux/amd64 + type Winsize struct + Height uint16 + Width uint16 + func GetWinsize(fd uintptr) (*Winsize, error)