From 45fda56c33af3dc880d4b907638d36fbe945aa85 Mon Sep 17 00:00:00 2001 From: djk Date: Tue, 29 Jun 1999 00:31:33 +0000 Subject: [PATCH] altered default colours --- perl/Console.pm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/perl/Console.pm b/perl/Console.pm index 34c39131..cead75a4 100644 --- a/perl/Console.pm +++ b/perl/Console.pm @@ -27,18 +27,25 @@ if ($ENV{'TERM'} =~ /xterm/) { $ENV{'TERM'} = 'color_xterm'; $foreground = COLOR_BLACK(); $background = A_BOLD|COLOR_WHITE(); + @colors = ( + [ '^DX de [\-\w]+:\s+(14[45]\d\d\d|5[01]\d\d\d)', COLOR_PAIR(1) ], + [ '^DX', COLOR_PAIR(5) ], + [ '^To', COLOR_PAIR(3) ], + [ '^WWV', COLOR_PAIR(4) ], + [ '^WX', COLOR_PAIR(3) ], + ); } if ($ENV{'TERM'} =~ /(console|linux)/) { $foreground = COLOR_WHITE(); $background = COLOR_BLACK(); -} - -@colors = ( + @colors = ( [ '^DX de [\-\w]+:\s+(14[45]\d\d\d|5[01]\d\d\d)', COLOR_PAIR(1) ], - [ '^DX', COLOR_PAIR(2) ], + [ '^DX', COLOR_PAIR(5) ], [ '^To', COLOR_PAIR(3) ], [ '^WWV', COLOR_PAIR(4) ], - [ '^WX', COLOR_PAIR(5) ], -); + [ '^WX', COLOR_PAIR(3) ], + ); +} + 1; -- 2.43.0