aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/main.cpp b/cli/main.cpp
index 8c84eb6..7a5ed97 100644
--- a/cli/main.cpp
+++ b/cli/main.cpp
@@ -77,6 +77,14 @@ QString diceToText(ExportedDiceResult& dice,bool highlight,bool homogeneous)
{
prefix = "\e[34m%1\e[0m";
}
+ if(tmp.getColor()=="red")
+ {
+ prefix = "\e[31m%1\e[0m";
+ }
+ if(tmp.getColor()=="black")
+ {
+ prefix = "\e[30m%1\e[0m";
+ }
}
if(i==0)