ansicolor library
Copyright 2013 Google Inc. All Rights Reserved.
ANSI/XTERM SGR (Select Graphics Rendering) support for 256 colors. Note: if you're using the dart editor, these won't look right in the terminal; disable via color_disabled or use Eclipse with the Dart and AnsiConsol plugins!
Classes
- AnsiPen
- Pen attributes for foreground and background colors.
Constants
- ansi_default → const String
- ansi_esc → const String
- ansiDefault → const String
- Reset all colors and options for current SGRs to terminal defaults.
- ansiEscape → const String
- ANSI Control Sequence Introducer, signals the terminal for new settings.
- ansiResetBackground → const String
- Ansi codes that default the terminal's background color without altering the foreground, when printed.
- ansiResetForeground → const String
- Ansi codes that default the terminal's foreground color without altering the background, when printed.
Properties
- ansiColorDisabled ↔ bool
-
Globally enable or disable AnsiPen settings.
getter/setter pair
- color_disabled ↔ bool
-
getter/setter pair
Functions
-
resetBackground(
) → String -
resetForeground(
) → String