in reply to Interactive post-coloring of readline input?
#!/usr/bin/perl -d use strict; use warnings; use Term::ReadLine; use Term::ANSIColor; my $attr = "This is a test"; print "$attr", "\n", colored("$attr", "red"), "\n", colored("$attr", "blue"), "\n", colored("$attr", "green"), "\n", colored("$attr", "black"), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Interactive post-coloring of readline input?
by LanX (Saint) on Feb 09, 2012 at 03:41 UTC | |
by andal (Hermit) on Feb 09, 2012 at 10:14 UTC | |
by LanX (Saint) on Feb 09, 2012 at 16:35 UTC |