aboutsummaryrefslogtreecommitdiff
path: root/Canvas.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-11 16:44:28 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-11 16:44:28 +0200
commit70feb9ed564fb7f557b7ab8b8d65e6376811b6ce (patch)
treed763d2a85475f564475624655ba5605eafb4d1e4 /Canvas.cpp
parenta842040a09cd95cf5c32f67941c7e99569a12f57 (diff)
rename File -> FileStrategy
Diffstat (limited to 'Canvas.cpp')
-rw-r--r--Canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Canvas.cpp b/Canvas.cpp
index 2ff430f..c2c5362 100644
--- a/Canvas.cpp
+++ b/Canvas.cpp
@@ -48,7 +48,7 @@ string Canvas::to_string(bool truecolor) {
if (type_str.length() == 0) type_str = ".";
if (truecolor)
- out += stringf("\e[48;2;%d;%d;%dm",
+ out += stringf("\e[38;2;0;0;0;48;2;%d;%d;%dm",
tile.color.red, tile.color.green, tile.color.blue);
out += stringf("%-2s ", type_str.c_str());