-
Notifications
You must be signed in to change notification settings - Fork 1
/
polor.pashm
75 lines (65 loc) · 1.45 KB
/
polor.pashm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
namespace polor
$escape = '\x1b'
class BA
# Base attributes
$Reset = '\x1b[0m'
$Bold = '\x1b[1m'
$Faint = '\x1b[2m'
$Italic = '\x1b[3m'
$Underline = '\x1b[4m'
$BlinkSlow = '\x1b[5m'
$BlinkRapid = '\x1b[6m'
$ReverseVideo = '\x1b[7m'
$Cancealed = '\x1b[8m'
$CrossedOut = '\x1b[9m'
endclass
$ba = BA()
class FTC
# Foreground text colors
$Black = '\x1b[30m'
$Red = '\x1b[31m'
$Green = '\x1b[32m'
$Yellow = '\x1b[33m'
$Blue = '\x1b[34m'
$Magenta = '\x1b[35m'
$Cyan = '\x1b[36m'
$White = '\x1b[37m'
endclass
$ftc = FTC()
class FHITC
# Foreground Hi-Intensity text colors
$HiBlack = '\x1b[90m'
$HiRed = '\x1b[91m'
$HiGreen = '\x1b[92m'
$HiYellow = '\x1b[93m'
$HiBlue = '\x1b[94m'
$HiMagenta = '\x1b[95m'
$HiCyan = '\x1b[96m'
$HiWhite = '\x1b[97m'
endclass
$fhitc = FHITC()
class BTC
# Background text colors
$Black = '\x1b[40m'
$Red = '\x1b[41m'
$Green = '\x1b[42m'
$Yellow = '\x1b[43m'
$Blue = '\x1b[44m'
$Magenta = '\x1b[45m'
$Cyan = '\x1b[46m'
$White = '\x1b[47m'
endclass
$btc = BTC()
class BHITC
# Background Hi-Intensity text colors
$HiBlack = '\x1b[100m'
$HiRed = '\x1b[101m'
$HiGreen = '\x1b[102m'
$HiYellow = '\x1b[103m'
$HiBlue = '\x1b[104m'
$HiMagenta = '\x1b[105m'
$HiCyan = '\x1b[106m'
$HiWhite = '\x1b[107m'
endclass
$bhitc = BHITC()
endns