diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-07 16:25:17 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-07 16:25:17 -0700 |
| commit | b7973b0afa3b5ab4df803bc102cd0f3f4b8db671 (patch) | |
| tree | dd07dcb13884d983d67890230f661216016a7372 /ansicolors.lua | |
| parent | 88077bcac3a8c8127685a0efa7db891a46facf10 (diff) | |
Renamed ansicolors to consolecolors.
Diffstat (limited to 'ansicolors.lua')
| -rw-r--r-- | ansicolors.lua | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/ansicolors.lua b/ansicolors.lua deleted file mode 100644 index 7b87c0b..0000000 --- a/ansicolors.lua +++ /dev/null @@ -1,37 +0,0 @@ -local colors = { - -- attributes - reset = 0, - clear = 0, - bright = 1, - dim = 2, - underscore = 4, - blink = 5, - reverse = 7, - hidden = 8, - - -- foreground - black = 30, - red = 31, - green = 32, - yellow = 33, - blue = 34, - magenta = 35, - cyan = 36, - white = 37, - - -- background - onblack = 40, - onred = 41, - ongreen = 42, - onyellow = 43, - onblue = 44, - onmagenta = 45, - oncyan = 46, - onwhite = 47, -} - -local _M = {} -for c, v in pairs(colors) do - _M[c] = string.char(27)..("[%dm"):format(v) -end -return _M |
