From 67a171cbb85572434e4ebe34a18145095e2f1c86 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 17 Jun 2020 19:29:45 +0530 Subject: Add color to unveil debug messages --- crux.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crux.pl') 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(@_); -- cgit 1.4.1-2-gfad0