diff options
Diffstat (limited to 'term')
-rw-r--r-- | term/colors.lua | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/term/colors.lua b/term/colors.lua index 32cbb54..63d752b 100644 --- a/term/colors.lua +++ b/term/colors.lua | |||
@@ -47,35 +47,35 @@ end | |||
47 | 47 | ||
48 | local colorvalues = { | 48 | local colorvalues = { |
49 | -- attributes | 49 | -- attributes |
50 | reset = 0, | 50 | reset = 0, |
51 | clear = 0, | 51 | clear = 0, |
52 | default = 0, | 52 | default = 0, |
53 | bright = 1, | 53 | bright = 1, |
54 | dim = 2, | 54 | dim = 2, |
55 | underscore = 4, | 55 | underscore = 4, |
56 | blink = 5, | 56 | blink = 5, |
57 | reverse = 7, | 57 | reverse = 7, |
58 | hidden = 8, | 58 | hidden = 8, |
59 | 59 | ||
60 | -- foreground | 60 | -- foreground |
61 | black = 30, | 61 | black = 30, |
62 | red = 31, | 62 | red = 31, |
63 | green = 32, | 63 | green = 32, |
64 | yellow = 33, | 64 | yellow = 33, |
65 | blue = 34, | 65 | blue = 34, |
66 | magenta = 35, | 66 | magenta = 35, |
67 | cyan = 36, | 67 | cyan = 36, |
68 | white = 37, | 68 | white = 37, |
69 | 69 | ||
70 | -- background | 70 | -- background |
71 | onblack = 40, | 71 | onblack = 40, |
72 | onred = 41, | 72 | onred = 41, |
73 | ongreen = 42, | 73 | ongreen = 42, |
74 | onyellow = 43, | 74 | onyellow = 43, |
75 | onblue = 44, | 75 | onblue = 44, |
76 | onmagenta = 45, | 76 | onmagenta = 45, |
77 | oncyan = 46, | 77 | oncyan = 46, |
78 | onwhite = 47, | 78 | onwhite = 47, |
79 | } | 79 | } |
80 | 80 | ||
81 | for c, v in pairs(colorvalues) do | 81 | for c, v in pairs(colorvalues) do |