package
1.10.16
Repository: https://github.com/hyperhq/hypercli.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DisableEcho applies the specified state to the terminal connected to the file descriptor, with echo disabled.
GetFdInfo returns the file descriptor for an os.File and indicates whether the file represents a terminal.
GetWinsize returns the window size based on the specified file descriptor.
IsTerminal returns true if the given file descriptor is a terminal.
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.
RestoreTerminal restores the terminal connected to the given file descriptor to a previous state.
SaveState saves the state of the terminal connected to the given file descriptor.
SetRawTerminal puts the terminal connected to the given file descriptor into raw mode and returns the previous state.
SetWinsize tries to set the specified window size for the specified file descriptor.
StdStreams returns the standard streams (stdin, stdout, stedrr).
ToBytes converts a string representing a suite of key-sequence to the corresponding ASCII code.

# Variables

ASCII list the possible supported ASCII key sequence.
ErrInvalidState is returned if the state of the terminal is invalid.

# Structs

State represents the state of the terminal.
Termios is the Unix API for terminal I/O.
Winsize represents the size of the terminal window.