termlib library

Dart library that provides a set of utilities for terminal applications. Provides information about the running terminal as well as a set of methods for styling the text output or interacting with the terminal.

Classes

Ansi16Color
Color (0-15) as defined by the ANSI Standard.
Ansi256Color
Color (0-255) as defined by the ANSI Standard.
Color
Color is the base class for all colors.
NoColor
NoColor is a color representation when the terminal does not support colors.
Style
Represents a text string that could have some properties as color and text styles.
TermLib
Terminal library
TrueColor
Represents a true color with RGB values.

Enums

Clipboard
Clipboard to use
ClipboardMode
Clipboard Operation Modes
ProfileEnum
Enumeration representing different profiles.
TextStyle
Text Styles that can be applied to a Style object.

Extensions

CursorUtils on TermLib
Cursor handling functions
EraseUtils on TermLib
Eraser handling functions
TermUtils on TermLib
Support function that add some extra features to the terminal.

Typedefs

EnvironmentData = Map<String, String>
Type similar to Platform.environment, used for dependency injection
Pos = ({int col, int row})
Record that represent a coordinate position