Table of Contents

Namespace InteractiveReadLine.Formatting

Classes

CommonFormatters

Provides ready-made formatters that add a prompt, hide text, or apply colors before displaying a line. A formatter does not alter the text that the user is editing.

FormattedText

Represents a formatted string, where each character has a potentially unique foreground and background color assigned to it.

LineDisplayState

Holds all of the information to present to the user through the view. The LineDisplayState is typically the output of a formatter, and is intended to be written directly to an IReadLineProvider

Structs

FormattedChar

A struct representing a single character and its foreground and background colors. Null colors represents the system defaults.