Comparison

util/termcolours.lua @ 8368:3629639d5fa9

util.termcolours: Split a long line [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 03 Nov 2017 01:17:39 +0100
parent 7206:1c005878db55
child 8555:4f0f5b49bb03
comparison
equal deleted inserted replaced
8365:8e079677d724 8368:3629639d5fa9
28 local _ENV = nil; 28 local _ENV = nil;
29 29
30 local stylemap = { 30 local stylemap = {
31 reset = 0; bright = 1, dim = 2, underscore = 4, blink = 5, reverse = 7, hidden = 8; 31 reset = 0; bright = 1, dim = 2, underscore = 4, blink = 5, reverse = 7, hidden = 8;
32 black = 30; red = 31; green = 32; yellow = 33; blue = 34; magenta = 35; cyan = 36; white = 37; 32 black = 30; red = 31; green = 32; yellow = 33; blue = 34; magenta = 35; cyan = 36; white = 37;
33 ["black background"] = 40; ["red background"] = 41; ["green background"] = 42; ["yellow background"] = 43; ["blue background"] = 44; ["magenta background"] = 45; ["cyan background"] = 46; ["white background"] = 47; 33 ["black background"] = 40; ["red background"] = 41; ["green background"] = 42; ["yellow background"] = 43;
34 ["blue background"] = 44; ["magenta background"] = 45; ["cyan background"] = 46; ["white background"] = 47;
34 bold = 1, dark = 2, underline = 4, underlined = 4, normal = 0; 35 bold = 1, dark = 2, underline = 4, underlined = 4, normal = 0;
35 } 36 }
36 37
37 local winstylemap = { 38 local winstylemap = {
38 ["0"] = orig_color, -- reset 39 ["0"] = orig_color, -- reset