Skip to content

ANSICodes

Defined in: package/src/utils.ts:71

Enum representing various ANSI escape codes for styling text and backgrounds.

Includes codes for text styles, text colors, and background colors. Reset codes are also provided to clear specific styles.

Enumeration Members

Enumeration MemberValueDefined in

ResetAll

0

package/src/utils.ts:73

Bold

1

package/src/utils.ts:85

Dim

2

package/src/utils.ts:86

Italic

3

package/src/utils.ts:87

Underline

4

package/src/utils.ts:88

Blink

5

package/src/utils.ts:89

Inverse

7

package/src/utils.ts:90

Hidden

8

package/src/utils.ts:91

Strikethrough

9

package/src/utils.ts:92

ResetBold

22

package/src/utils.ts:74

ResetItalic

23

package/src/utils.ts:75

ResetUnderline

24

package/src/utils.ts:76

ResetBlik

25

package/src/utils.ts:77

ResetInverse

27

package/src/utils.ts:78

ResetHidden

28

package/src/utils.ts:79

ResetStrikethrough

29

package/src/utils.ts:80

Black

30

package/src/utils.ts:101

Red

31

package/src/utils.ts:102

Green

32

package/src/utils.ts:103

Yellow

33

package/src/utils.ts:104

Blue

34

package/src/utils.ts:105

Cyan

36

package/src/utils.ts:107

White

37

package/src/utils.ts:108

ResetColor

39

package/src/utils.ts:81

ResetBgColor

49

package/src/utils.ts:82

RGBColor

"38;2"

package/src/utils.ts:95

BITColor

"38;5"

package/src/utils.ts:96

RGBBackground

"48;2"

package/src/utils.ts:97

BITBackground

"48;5"

package/src/utils.ts:98

Magenta

35

package/src/utils.ts:106

BgBlack

40

package/src/utils.ts:121

BgRed

41

package/src/utils.ts:122

BgGreen

42

package/src/utils.ts:123

BgYellow

43

package/src/utils.ts:124

BgBlue

44

package/src/utils.ts:125

BgMagenta

45

package/src/utils.ts:126

BgCyan

46

package/src/utils.ts:127

BgWhite

47

package/src/utils.ts:128

BrightBlack

90

package/src/utils.ts:111

BrightRed

91

package/src/utils.ts:112

BrightGreen

92

package/src/utils.ts:113

BrightYellow

93

package/src/utils.ts:114

BrightBlue

94

package/src/utils.ts:115

BrightMagenta

95

package/src/utils.ts:116

BrightCyan

96

package/src/utils.ts:117

BrightWhite

97

package/src/utils.ts:118

BgBrightBlack

100

package/src/utils.ts:131

BgBrightRed

101

package/src/utils.ts:132

BgBrightGreen

102

package/src/utils.ts:133

BgBrightYellow

103

package/src/utils.ts:134

BgBrightBlue

104

package/src/utils.ts:135

BgBrightMagenta

105

package/src/utils.ts:136

BgBrightCyan

106

package/src/utils.ts:137

BgBrightWhite

107

package/src/utils.ts:138