mirror of
https://github.com/kepler155c/opus
synced 2025-12-18 22:28:06 +00:00
canvas palette
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user