package
2.5.0+incompatible
Repository: https://github.com/jedib0t/go-pretty.git
Documentation: pkg.go.dev

# Functions

AsString returns the argument in a 'string' form no matter what type it is.
AutoIndexColumnID returns a unique Column ID/Name for the given Column Number.
FilterStrings filters the slice 's' to items which return truth when passed to 'f'.
GetLongestLineLength returns the length of the longest "line" within the argument string.
InsertRuneEveryN inserts the rune every N characters in the string.
IsNumber returns true if the argument is a numeric type; false otherwise.
IsString returns true if the argument is a string; false otherwise.
RuneCountWithoutEscapeSeq is similar to utf8.RuneCountInString, except for the fact that it ignores escape sequences in the counting.
TrimTextWithoutEscapeSeq trims a string to the given length accounting for escape sequences For ex.: TrimTextWithoutEscapeSeq("Ghost", 3) == "Gho" TrimTextWithoutEscapeSeq("Ghost", 6) == "Ghost" TrimTextWithoutEscapeSeq("\x1b[33mGhost\x1b[0m", 3) == "\x1b[33mGho\x1b[0m" TrimTextWithoutEscapeSeq("\x1b[33mGhost\x1b[0m", 6) == "\x1b[33mGhost\x1b[0m".
WrapText wraps a string to the given length using a newline.

# Constants

CursorDown helps move the Cursor Down X lines.
CursorLeft helps move the Cursor Left X characters.
CursorRight helps move the Cursor Right X characters.
CursorUp helps move the Cursor Up X lines.
EraseLine helps erase all characters to the Right of the Cursor in the current line.
Constants.
Constants.
\x1b.
Constants.
Constants.

# Type aliases

Cursor helps move the cursor on the console in multiple directions.