1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-18 22:28:06 +00:00

canvas palette

This commit is contained in:
kepler155c@gmail.com
2017-10-06 03:07:24 -04:00
parent f0846c8daa
commit fc69d4be83
8 changed files with 131 additions and 120 deletions

View File

@@ -110,10 +110,7 @@ function Terminal.toGrayscale(ct)
local function translate(s)
if s then
for k,v in pairs(bcolors) do
s = _sgsub(s, k, v)
end
-- s = _sgsub(s, "%d+", bcolors) -- not working in cc 1.75 ???
s = _sgsub(s, "%w", bcolors)
end
return s
end