diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 15:42:48 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 15:43:24 -0800 |
| commit | c1c32688a4afc43f6addb99b8b5fa878944a70e3 (patch) | |
| tree | c886f21b5b08a9053aa74fcba4b241dae5ede76d /consolecolors.lua | |
| parent | 2309b696fc34b24f05f6658b94f9105ca8ee76e4 (diff) | |
Overhaul in progress, mostly working. Moved all the nomsu packages into
lib/, including core/*. Changes to how nomsu environments and importing
work.
Diffstat (limited to 'consolecolors.lua')
| -rw-r--r-- | consolecolors.lua | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/consolecolors.lua b/consolecolors.lua deleted file mode 100644 index 650bc81..0000000 --- a/consolecolors.lua +++ /dev/null @@ -1,41 +0,0 @@ --- --- This file contains the ANSI escapes for console colors --- - -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 |
