From 4c804e185117c9823bc40becfa33e6db50b6c709 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Mon, 20 Aug 2018 20:58:10 -0400 Subject: [PATCH] forgot to lowercase chars in color codes table --- init.lua | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index ad8119b..a27fe5e 100644 --- a/init.lua +++ b/init.lua @@ -52,6 +52,7 @@ local char_to_color = { ["7"] = 7, ["8"] = 8, ["9"] = 9, + ["A"] = 10, ["B"] = 11, ["C"] = 12, @@ -69,7 +70,27 @@ local char_to_color = { ["O"] = 24, ["P"] = 25, ["Q"] = 26, - ["R"] = 27 + ["R"] = 27, + + ["a"] = 10, + ["b"] = 11, + ["c"] = 12, + ["d"] = 13, + ["e"] = 14, + ["f"] = 15, + ["g"] = 16, + ["h"] = 17, + ["i"] = 18, + ["j"] = 19, + ["k"] = 20, + ["l"] = 21, + ["m"] = 22, + ["n"] = 23, + ["o"] = 24, + ["p"] = 25, + ["q"] = 26, + ["r"] = 27 + } -- the following functions based on the so-named ones in Jeija's digilines mod