From cd6a4c275030e9f66eb6807fc965d667a67ce55f Mon Sep 17 00:00:00 2001 From: bptato Date: Wed, 14 Dec 2022 10:47:11 +0100 Subject: rendertext, color: fix escape codes --- src/types/color.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types') diff --git a/src/types/color.nim b/src/types/color.nim index 1f07d59b..e4668ca9 100644 --- a/src/types/color.nim +++ b/src/types/color.nim @@ -31,7 +31,7 @@ func cellColor*(rgb: RGBColor): CellColor = return CellColor(rgb: true, n: uint32(rgb)) func cellColor*(c: uint8): CellColor = - return CellColor(rgb: true, n: uint32(c)) + return CellColor(rgb: false, n: uint32(c)) const defaultColor* = CellColor(rgb: false, n: 0) -- cgit