💻 TermColor User Manual
Programmers manual

This document provides only a high level overview of the library. For details, see reference of individual classes.

The library features can be split into following categories:

  1. Terminal buffering
  2. Color representation
  3. Drawing shapes
  4. Escape codes

Terminal buffering

The TermColor.Terminal class is the main API for interacting with this library. It internally uses TermColor.AnsiTermBuffer and TermColor.Win32TermBuffer for forwarding the colored text to the OS.

For a workflow example, checkout the readme.

Color representation

This library provides several structures to represent color, and algorithms to convert between them:

Drawing shapes

Number of different shapes can be drawn on a TermColor.ITerminalBuffer via the TermColor.Drawing.ITerminalBufferEx class' extension methods.

Escape codes

There is also a set of internal utilities useful for generating ANSI escape sequences: