From 3f726736ca5725db3b550f8994a7eb97626dc869 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 18 Mar 2021 16:58:36 +0100 Subject: [PATCH] Add column with foreground color --- xterm256colortable/xterm256colortable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xterm256colortable/xterm256colortable b/xterm256colortable/xterm256colortable index f4ba138..9d563c5 100755 --- a/xterm256colortable/xterm256colortable +++ b/xterm256colortable/xterm256colortable @@ -1,7 +1,7 @@ #!/usr/bin/perl for my $i (0 .. 255) { - print fg(0), bg(15), sprintf("%3d", $i), " : ", bg($i), "x" x 10, rst(), "\n"; + print fg(0), bg(15), sprintf("%3d", $i), " : ", bg($i), "x" x 10, rst(), " ", fg($i), "x" x 10, rst(), "\n"; }