package
0.0.4
Repository: https://github.com/ptgoetz/go-ansi.git
Documentation: pkg.go.dev

# Functions

GetTerminalDimensions returns the number of rows, and columns of the current TTY, or an error if the current context is not a TTY.
IsAnsiTerminal detects if the current context is an ANSI terminal by calling GetTerminalDimensions.
IsTerminal determines whether the current context is a terminal.