in reply to Re: Term::ANSIMenu help
in thread Term::ANSIMenu help
As separate lines:
$menu->selection_bgcolor("GREEN"); $menu->selection_fgcolor("YELLOW");
Inside the constructor:
my $menu = Term::ANSIMenu->new( width => 40, : : : prompt => 'prompt: ', item_fgcolor => "YELLOW", item_style => ["BOLD"], selection_bgcolor => "BLACK", selection_fgcolor => "RED", );
|
|---|