ansi_writer/ansi_writer library

Classes

AnsiBackgroundColor
AnsiBasicColor
AnsiExtendedColorPalette
0 - 7: standard colors (as in ESC [ 30–37 m). 8 - 15: high intensity colors (as in ESC [ 90–97 m). 16 - 231: 6 × 6 × 6 cube (216 colors): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5). 232 - 255: grayscale from black to white in 24 steps.
AnsiExtendedColorPaletteRawImpl
AnsiExtendedColors
See https://jonasjacek.github.io/colors/
AnsiForegroundColor
BrightAnsiBackgroundColorAdapter
BrightAnsiForegroundColorAdapter
CompositeGraphicsRenditionNode
Allows you to treat multiple GraphicsRenditionNode instances as one.
DarkAnsiBackgroundColorAdapter
DarkAnsiForegroundColorAdapter
GraphicsRenditionNode
Base node for graphics rendition command nodes.
GraphicsRenditionNodeBackgroundColorImpl
Set background colour.
GraphicsRenditionNodeBlinkImpl
Blink.
GraphicsRenditionNodeBrightBackgroundColorImpl
Set background colour from the bright colour palette of 0–7.
GraphicsRenditionNodeBrightTextColorImpl
Set text colour from the bright colour palette of 0–7.
GraphicsRenditionNodeColorImpl
Sets text or background color. Bright or normal color. What will be set depends on the value given.
GraphicsRenditionNodeExtendedBackgroundColorImpl
Set background colour to index n in a 256-colour palette. See https://commons.wikimedia.org/wiki/File:Xterm_256color_chart.svg
GraphicsRenditionNodeExtendedTextColorImpl
Set text colour to index n in a 256-colour palette See https://commons.wikimedia.org/wiki/File:Xterm_256color_chart.svg
GraphicsRenditionNodeHighlightImpl
Bold (or bright, it’s up to the terminal and the user config to some extent).
GraphicsRenditionNodeInvertedImpl
Inverted also known as reversed.
GraphicsRenditionNodeItalicImpl
Italic.
GraphicsRenditionNodeResetImpl
Reset: turn off all attributes.
GraphicsRenditionNodeRGBBackgroundColorImpl
Set background colour to an RGB value.
GraphicsRenditionNodeRGBTextColorImpl
Set text color to an RGB value.
GraphicsRenditionNodeTextColorImpl
Set text colour from the basic colour palette of 0–7.
GraphicsRenditionNodeUnderlineImpl
Underline.
NamedAnsiColorBlackImpl
NamedAnsiColorBlueImpl
NamedAnsiColorCyanImpl
NamedAnsiColorGreenImpl
NamedAnsiColorMagentaImpl
NamedAnsiColorRedImpl
NamedAnsiColorWhiteImpl
NamedAnsiColorYellowImpl

Constants

control_sequence_identifier → const String