package term

Import Path
	github.com/reeflective/readline/internal/term (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 6 packages


Package-Level Type Names (only one)
/* sort by: | */
State contains the state of a terminal. func GetState(fd int) (*State, error) func MakeRaw(fd int) (*State, error) func Restore(fd int, state *State) error
Package-Level Functions (total 11)
GetLength returns the length of the terminal (Y length), or 80 if it cannot be established.
GetSize returns the dimensions of the given terminal.
GetState returns the current state of a terminal which may be useful to restore the terminal after a signal.
GetWidth returns the width of Stdout or 80 if the width cannot be established.
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.
MoveCursorBackwards moves the cursor backward i columns.
MoveCursorDown moves the cursor down i lines.
MoveCursorForwards moves the cursor forward i columns.
MoveCursorUp moves the cursor up i lines.
Restore restores the terminal connected to the given file descriptor to a previous state.
Package-Level Variables (total 4)
Some core keys needed by some stuff.
Some core keys needed by some stuff.
Some core keys needed by some stuff.
Some core keys needed by some stuff.
Package-Level Constants (total 12)
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.