# 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.