package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev

# Functions

IsTerminal returns true if the writer's file descriptor is a terminal.
NewANSI creates a new ANSI terminal and attaches it to 'out'.
Read a byte from the terminal.
Size returns the number of columns and rows comprising the terminal.
WrapText prints the 'prefix' to 'out' and then wraps 'text' in the remaining space.

# Constants

ANSI color constants.
ANSI style constants.
ANSI color constants.
ANSI style constants.
ANSI color constants.
ANSI color constants.
ANSI color constants.
ANSI style constants.
ANSI color constants.
ANSI style constants.
ANSI color constants.
ANSI color constants.

# Structs

ANSI provides support for ANSI terminal escape sequences.

# Type aliases

Color represents an ANSI terminal color.
Style represents an ANSI terminal style.