nxt.ansi_escape

ANSI escape codes and sequences.

Members

Classes

C
class C
Undocumented in source.

Enums

SGR
enum SGR

SGR (Select Graphic Rendition) sets display attributes.

Functions

putWithSGRs
void putWithSGRs(void delegate(scope const(char)[]) @(safe) sink, const(char)[] text, SGR[] sgrs)
Undocumented in source. Be warned that the author may not have intended to support it.
resetSGRs
void resetSGRs(void delegate(scope const(char)[]) @(safe) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
setBackgroundColorRGB8
void setBackgroundColorRGB8(void delegate(scope const(char)[]) @(safe) sink, ColorRGB8 rgb)

Set background color to rgb.

setForegroundColorRGB8
void setForegroundColorRGB8(void delegate(scope const(char)[]) @(safe) sink, ColorRGB8 rgb)

Set foreground color to rgb.

setSGRs
void setSGRs(void delegate(scope const(char)[]) @(safe) sink, SGR[] sgrs)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Attrs
struct Attrs

Visual attributes.

ColorRGB8 (from nxt.color)
struct ColorRGB8 via public import nxt.color : ColorRGB8;

RGB 24-bit color, where each color component has 8-bit precision.

See Also

Meta