about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-14 10:47:11 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-14 10:58:49 +0100
commitcd6a4c275030e9f66eb6807fc965d667a67ce55f (patch)
treed6ad7f16321a00fbb896b6997f4a782c4cee4e0e /src/types
parent03480fea95101cf1147c1e1a65c4e6fb457b1402 (diff)
downloadchawan-cd6a4c275030e9f66eb6807fc965d667a67ce55f.tar.gz
rendertext, color: fix escape codes
Diffstat (limited to 'src/types')
-rw-r--r--src/types/color.nim2
1 files changed, 1 insertions, 1 deletions
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)