Skip to content

Commit 56acb61

Browse files
committed
Add 24-bit color support
1 parent 3addfae commit 56acb61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scripts/color-copy/color-copy.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function onCopyWithColors(event, menu, window, startCol, startRow, endCol, endRo
4343
else
4444
lastColor = color
4545
-- Check whether the color is in the 256 set. Use gray (&w) for undefined colors.
46-
local cc = colorCodes[color] or "&w"
46+
local cc = colorCodes[color] or "&#"..color
4747
parsed = parsed .. cc .. symbol
4848
end
4949
end

0 commit comments

Comments
 (0)