tty library

Utilities for command-line applications.

Extensions

ArgsParseOption on ArgResults
Provides a parseOptionValue extension method on ArgResults.

Functions

getTerminalSize() → ({int height, int width})
Tries to get the size of the terminal.
wordWrap(String s, int maxLineLength, {int hangingIndent = 0}) String
Word wraps a string to a maximum line length.