# Functions
AnsiEnd checks if the given byte is an ANSI escape code terminator.
EscapeAnsiCode checks if the given bytes contain an ANSI escape code.
No description provided by the author
Graffiti returns text in the graffiti ASCII art font.
Input returns a new input prompt with the given message and callback, if any, ready for use as a param in Cli.Prompt().
Msg constructs a new Cli Message with the given styles.
MultiSelect returns a new multi-select menu prompt with the given message, select options and callback, if any, ready for use as a param in Cli.Prompt().
Must panics if the given error is not nil.
Must panics if the given error is not nil.
New constructs a new Cli with an initial Message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewOptions returns a new Options.
Password returns a new masked prompt with the given message and callback, if any, ready for use as a param in Cli.Prompt().
RemoveAnsiCodes removes all ANSI escape codes of the given types from the given bytes.
Select returns a new select menu prompt with the given message, select options and callback, if any, ready for use as a param in Cli.Prompt().
Standard returns text in the standard ASCII art font.
No description provided by the author
No description provided by the author
Template constructs a new Cli Message with the given stylized template string and data.
# Constants
background text colors.
background text colors.
background text colors.
background text colors.
background text colors.
background text colors.
background text colors.
background text colors.
foreground text colors.
text styles.
text styles.
foreground text colors.
text styles.
No description provided by the author
Delete '\x7f'.
special character.
special character.
Backspace '\b'.
NewLine '\n'.
special character.
special character.
special character.
delete key (not backspace).
special character.
special character.
Escape '\x1b'.
special character.
special character.
special character.
special character.
CarriageReturn '\r'.
special character.
Space ' '.
Tab '\t'.
special character.
No description provided by the author
text styles.
text styles.
foreground text colors.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
text styles.
foreground text colors.
foreground vibrant text colors.
foreground vibrant text colors.
foreground vibrant text colors.
foreground vibrant text colors.
foreground vibrant text colors.
foreground vibrant text colors.
foreground vibrant text colors.
foreground vibrant text colors.
No description provided by the author
No description provided by the author
text styles.
foreground text colors.
max terminal width.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
foreground text colors.
text styles.
reset text styles.
reset text styles.
reset text styles.
reset text styles.
reset text styles.
reset text styles.
reset text styles.
text styles.
ansi escape code.
No description provided by the author
No description provided by the author
text styles.
foreground text colors.
foreground text colors.
# Variables
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
ansi escape code.
error code.
error code.
Error messages.
errors.
No description provided by the author
No description provided by the author
Error messages.
error code.
error code.
ansi escape code.
ansi escape code.
No description provided by the author
ansi escape code.
terminal file.
terminal file.
# Structs
Cli is a buffered command line interface that supports ANSI escape codes, color and style attributes prompt and input methods, and more, with buffering for efficient output.
Command is a command line command.
No description provided by the author
No description provided by the author
No description provided by the author
Font represents a ASCII art font, used for converting text to ASCII art.
Message is a constructor for a Cli Message, which includes a buffer, template injection, and ansi styles.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
Commands is a slice of Command pointers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author