Index: leo --- leo.orig 2017-09-21 07:29:05.000000000 +0200 +++ leo 2020-10-11 10:18:46.219950000 +0200 @@ -30,8 +30,8 @@ # my $highlight = 1; my $default_c = "\033[0m"; # reset default terminal color -my $bold_c = "\033[0;34m"; # blue color -my $copy_c = "\033[0;35m"; # copyright message color (green) +my $bold_c = "\033[0;1m"; # bold text +my $blue_c = "\033[0;34m"; # blue color my $version = "2.02"; my $config = $ENV{HOME} . "/.leo"; @@ -291,18 +291,14 @@ utf8::decode($entry->{right}); } if ($highlight) { - $entry->{left} =~ s/(\Q$string\E)/$bold_c . $1 . $default_c/ei; - $entry->{right} =~ s/(\Q$string\E)/$bold_c . $1 . $default_c/ei; + $entry->{left} =~ s/(\Q$string\E)/$blue_c . $1 . $default_c/ei; + $entry->{right} =~ s/(\Q$string\E)/$blue_c . $1 . $default_c/ei; } printf $fmt, $entry->{left}, $entry->{right}; } } -print "$copy_c" if $highlight; -print "\n Fetched by leo $version via http://dict.leo.org/"; -print "\n Copyright (C) LEO Dictionary Team 1995-2017"; -print "\n [leo] GPL Copyleft Thomas v.D. 2000-2017\n\n"; print "$default_c" if $highlight;