about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-06-17 19:29:45 +0530
committerAndinus <andinus@nand.sh>2020-06-17 19:29:45 +0530
commit67a171cbb85572434e4ebe34a18145095e2f1c86 (patch)
tree408004e4e4a14a62e34fae82cff6d7f2ff0532a5
parent7a165e74b7695e6731352919143a4aa2cead3f80 (diff)
downloadcrux-67a171cbb85572434e4ebe34a18145095e2f1c86.tar.gz
Add color to unveil debug messages
-rwxr-xr-xcrux.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crux.pl b/crux.pl
index a769860..0950b68 100755
--- a/crux.pl
+++ b/crux.pl
@@ -24,9 +24,9 @@ sub unveil {
             # Check if defined because unveil can also be called blank
             # to block it.
             if ( defined($_[0]) and defined($_[1]) ) {
-                say "Unveil :: $_[0] :: $_[1]";
+                say LOCALCOLOR GREEN "Unveil :: $_[0] :: $_[1]";
             } else {
-                say "Unveil :: Block";
+                say LOCALCOLOR GREEN "Unveil :: Block";
             }
         }
         return OpenBSD::Unveil::unveil(@_);