f
Pm

Multiple numeric parameters composed of any number of single numeric parameters, separated by ; character(s)

f
Ps

A single (usually optional) numeric parameter, composed of one or more decimal digits.

v
SP

Space

v
BEL

Bell

v
BS

Backspace

v
CR

Carriage Return

v
ESC

Escape

v
FF

Form Feed

v
HT

Horizontal Tabulation

v
LF

Line Feed

v
NUL

Null

v
SI

Shift In

v
SO

Shift Out

v
VT

Vertical Tabulation

v
APC

Application Program Command

v
CSI

Control Sequence Introducer

v
DCS

Device Control String

v
HTS

Horizontal Tabulation Set

v
IND

Index

v
NEL

Next Line

v
OSC

Operating System Command

v
PM

Privacy Message

v
ST

String Terminator

f
CBT

Cursor Backward Tabulation

f
CHA

Cursor Horizontal Absolute

f
CHT

Cursor Horizontal Tabulation

f
CNL

Cursor Next Line

f
CPL

Cursor Preceding Line

f
CUB

Cursor Backward

f
CUD

Cursor Down

f
CUF

Cursor Forward

f
CUP

Cursor Position

f
CUU

Cursor Up

f
DA1

Primary Device Attributes

f
DA2

Secondary Device Attributes

f
DCH

Delete Character

f
DECDC

Delete Columns

f
DECDSR

DEC Device Status Report

f
DECIC

Insert Columns

f
DECRQM

Request Mode

f
DECRST

DEC Private Reset Mode

f
DECSCA

Select Character Protection Attribute

f
DECSCUSR

Set Cursor Style

f
DECSED

Selective Erase In Display

f
DECSEL

Selective Erase In Line

f
DECSET

DEC Private Set Mode

f
DECSTBM

Set Top and Bottom Margin

f
DECSTR

Soft Terminal Reset

f
DL

Delete Line

f
DSR

Device Status Report

f
ECH

Erase Character

f
ED

Erase In Display

f
EL

Erase In Line

f
HPA

Horizontal Position Absolute

f
HPR

Horizontal Position Relative

f
HVP

Horizontal and Vertical Position

f
ICH

Insert Characters

f
IL

Insert Line

f
REP

Repeat Preceding Character

f
RM

Reset Mode

f
SCORC

Restore Cursor

f
SCOSC

Save Cursor

f
SD

Scroll Down

f
SGR

Select Graphic Rendition

f
SL

Scroll Left

f
SM

Set Mode

f
SR

Scroll Right

f
SU

Scroll Up

f
TBC

Tab Clear

f
VPA

Vertical Position Absolute

f
VPR

Vertical Position Relative

f
DECRQSS

Request Selection or Setting

f
DECUDK

User Defined Keys

f
SIXEL

SIXEL Graphics

f
XTGETTCAP

Request Terminfo String

f
XTSETTCAP

Set Terminfo Data

f
detectIsColorSupported

Detect if color is supported by the environment.

v
APC

Application Program Command

v
CSI

Control Sequence Introducer

v
DCS

Device Control String

v
DECALN

Screen Alignment Pattern

v
HTS

Horizontal Tabulation Set

v
IND

Index

v
IR

Reverse Index

v
NEL

Next Line

v
OSC

Operating System Command

v
PM

Privacy Message

v
RC

Restore Cursor

v
SC

Save Cursor

v
ST

String Terminator

f
OSC0

Set window title and icon name.

f
OSC1

Set icon name.

f
OSC10

Set or query default foreground color.

f
OSC104

Reset color number c to themed color.

f
OSC11

Set or query default background color.

f
OSC110

Restore default foreground to themed color.

f
OSC111

Restore default background to themed color.

f
OSC112

Restore default cursor to themed color.

f
OSC12

Set or query default cursor color.

f
OSC2

Set window title.

f
OSC4

Change color number c to the color specified by spec.

f
OSC8

Create a hyperlink to uri using params.

f
bg256

Generates an ANSI escape code for setting the background color using 8-bit color codes.

f
fg256

Generates an ANSI escape code for setting the text (foreground) color using 8-bit color codes.

f
fgBg256

Generates ANSI escape codes for setting both the text (foreground) and background colors using 8-bit color codes.

f
hexToRgb

Converts a HEX color to an RGB color.

f
rgbToHex

Converts an RGB color to a HEX color.

f
bg256

Generates an ANSI escape code for setting the background color using 8-bit color codes.

v
bgBlack

Black background

v
bgBlue

Blue background

v
bgBrightBlack

Bright black background

v
bgBrightBlue

Bright blue background

v
bgBrightCyan

Bright cyan background

v
bgBrightGreen

Bright green background

v
bgBrightMagenta

Bright magenta background

v
bgBrightRed

Bright red background

v
bgBrightWhite

Bright white background

v
bgBrightYellow

Bright yellow background

v
bgCyan

Cyan background

v
bgDefault

Default background color

v
bgGreen

Green background

v
bgMagenta

Magenta background

v
bgRed

Red background

f
bgRgb

Generates an ANSI escape code for the given RGB background color.

v
bgWhite

White background

v
bgYellow

Yellow background

v
blinkRapid

Rapid blink

v
blinkSlow

Slow blink

v
bold

Bold text or increased intensity

v
faint

Faint text, decreased intensity, or dim

f
fg256

Generates an ANSI escape code for setting the text (foreground) color using 8-bit color codes.

f
fgBg256

Generates ANSI escape codes for setting both the text (foreground) and background colors using 8-bit color codes.

v
fgBlack

Black text

v
fgBlue

Blue text

v
fgBrightBlack

Bright black text

v
fgBrightBlue

Bright blue text

v
fgBrightCyan

Bright cyan text

v
fgBrightGreen

Bright green text

v
fgBrightMagenta

Bright magenta text

v
fgBrightRed

Bright red text

v
fgBrightWhite

Bright white text

v
fgBrightYellow

Bright yellow text

v
fgCyan

Cyan text

v
fgDefault

Default text color

v
fgGreen

Green text

v
fgMagenta

Magenta text

v
fgRed

Red text

f
fgRgb

Generates an ANSI escape code for the given RGB color.

v
fgWhite

White text

v
fgYellow

Yellow text

f
hexToRgb

Converts a HEX color to an RGB color.

v
hidden

Conceal text

v
inverse

Inverse colors (swap foreground and background colors)

v
italic

Italic text

v
reset

Reset all attributes

f
rgbToHex

Converts an RGB color to a HEX color.

v
strikeThrough

Crossed-out text

v
underline

Underlined text

f
bgRgb

Generates an ANSI escape code for the given RGB background color.

f
fgRgb

Generates an ANSI escape code for the given RGB color.

v
bgBlack

Black background

v
bgBlue

Blue background

v
bgBrightBlack

Bright black background

v
bgBrightBlue

Bright blue background

v
bgBrightCyan

Bright cyan background

v
bgBrightGreen

Bright green background

v
bgBrightMagenta

Bright magenta background

v
bgBrightRed

Bright red background

v
bgBrightWhite

Bright white background

v
bgBrightYellow

Bright yellow background

v
bgCyan

Cyan background

v
bgDefault

Default background color

v
bgGreen

Green background

v
bgMagenta

Magenta background

v
bgRed

Red background

v
bgWhite

White background

v
bgYellow

Yellow background

v
blinkRapid

Rapid blink

v
blinkSlow

Slow blink

v
bold

Bold text or increased intensity

v
faint

Faint text, decreased intensity, or dim

v
fgBlack

Black text

v
fgBlue

Blue text

v
fgBrightBlack

Bright black text

v
fgBrightBlue

Bright blue text

v
fgBrightCyan

Bright cyan text

v
fgBrightGreen

Bright green text

v
fgBrightMagenta

Bright magenta text

v
fgBrightRed

Bright red text

v
fgBrightWhite

Bright white text

v
fgBrightYellow

Bright yellow text

v
fgCyan

Cyan text

v
fgDefault

Default text color

v
fgGreen

Green text

v
fgMagenta

Magenta text

v
fgRed

Red text

v
fgWhite

White text

v
fgYellow

Yellow text

v
hidden

Conceal text

v
inverse

Inverse colors (swap foreground and background colors)

v
italic

Italic text

v
reset

Reset all attributes

v
strikeThrough

Crossed-out text

v
underline

Underlined text