package
0.0.0-20200228004434-041fe4c2206d
Repository: https://github.com/elumbantoruan/crypto.git
Documentation: pkg.go.dev

# Functions

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.
IsTerminal returns whether 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.
NewTerminal runs a VT100 terminal on the given ReadWriter.
ReadPassword reads a line of input from a terminal without local echo.
Restore restores the terminal connected to the given file descriptor to a previous state.

# Variables

ErrPasteIndicator may be returned from ReadLine as the error, in addition to valid line data.

# Structs

EscapeCodes contains escape sequences that can be written to the terminal in order to achieve different styles of text.
State contains the state of a terminal.
Terminal contains the state for running a VT100 terminal that is capable of reading lines of input.