Documentation
¶
Overview ¶
Package styled builds text made of styled runs, printed either plain or with ANSI escape codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Style ¶
type Style uint8
Style is a set of text attributes: at most one color, optionally bold.
type Text ¶
type Text struct {
// contains filtered or unexported fields
}
Text is a sequence of styled runs; adjacent runs of the same style are merged, so a single escape sequence covers them.
Click to show internal directories.
Click to hide internal directories.