package
0.2.0
Repository: https://github.com/andreas19/go-term.git
Documentation: pkg.go.dev

# Functions

GetBytes gets input from a terminal and returns it as a slice of bytes, which does not include the final \n (if any).
GetChar gets one character from a terminal.
GetLine gets one line of input from a terminal.
GetPassword gets one line of input from a terminal with the input masked with an * character.
GetSize returns the size (width, height) of the terminal.
Input gets input from a terminal.
IsTerminal returns whether the file descriptor fd is connected to a terminal.
MakeRaw puts the terminal into raw mode as decribed in section "Raw Mode" in the termios(3) manpage.
Menu prints a menu to the screen and returns the index of the selected option within the options slice.
MenuWithDefault does the same as Menu but takes a default value for the index of an option.
Select accepts one character from the options string and returns its index within the options.
YesNo gets the answer to a yes/no question.

# Constants

an * is printed to the screen for each character.
nothing is printed to the screen.
characters are printed to the screen as typed.

# Structs

Options for Input function.

# Type aliases

No description provided by the author