aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/col.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-24 03:27:23 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-24 03:27:23 +0000
commit9a41a51cb5f6343384a8178e2dabbbe3dd1d11de (patch)
tree8f76d229eeae066d7322dfd1c8f748f72567fe31 /src/bin/col.c
parentlets try pretend to be xterm-256color and see how this works? (diff)
downloadterminology-9a41a51cb5f6343384a8178e2dabbbe3dd1d11de.tar.gz
ok some things use the 256 col repeat set so make sure it repeats.
SVN revision: 74336
Diffstat (limited to 'src/bin/col.c')
-rw-r--r--src/bin/col.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/bin/col.c b/src/bin/col.c
index 1787f2f..e62d8bb 100644
--- a/src/bin/col.c
+++ b/src/bin/col.c
@@ -68,6 +68,24 @@ const Color colors256[256] =
{
// basic 16 repeated
{ 0x00, 0x00, 0x00, 0xff }, // COL_BLACK
+ { 0xcc, 0x33, 0x33, 0xff }, // COL_RED
+ { 0x33, 0xcc, 0x33, 0xff }, // COL_GREEN
+ { 0xcc, 0x88, 0x33, 0xff }, // COL_YELLOW
+ { 0x33, 0x33, 0xcc, 0xff }, // COL_BLUE
+ { 0xcc, 0x33, 0xcc, 0xff }, // COL_MAGENTA
+ { 0x33, 0xcc, 0xcc, 0xff }, // COL_CYAN
+ { 0xcc, 0xcc, 0xcc, 0xff }, // COL_WHITE
+
+ { 0x66, 0x66, 0x66, 0xff }, // COL_BLACK
+ { 0xff, 0x66, 0x66, 0xff }, // COL_RED
+ { 0x66, 0xff, 0x66, 0xff }, // COL_GREEN
+ { 0xff, 0xff, 0x66, 0xff }, // COL_YELLOW
+ { 0x66, 0x66, 0xff, 0xff }, // COL_BLUE
+ { 0xff, 0x66, 0xff, 0xff }, // COL_MAGENTA
+ { 0x66, 0xff, 0xff, 0xff }, // COL_CYAN
+ { 0xff, 0xff, 0xff, 0xff }, // COL_WHITE
+/*
+ { 0x00, 0x00, 0x00, 0xff }, // COL_BLACK
{ 0xc0, 0x00, 0x00, 0xff }, // COL_RED
{ 0x00, 0xc0, 0x00, 0xff }, // COL_GREEN
{ 0xc0, 0xc0, 0x00, 0xff }, // COL_YELLOW
@@ -84,7 +102,7 @@ const Color colors256[256] =
{ 0xff, 0x80, 0xff, 0xff }, // COL_MAGENTA
{ 0x80, 0xff, 0xff, 0xff }, // COL_CYAN
{ 0xff, 0xff, 0xff, 0xff }, // COL_WHITE
-
+ */
// pure 6x6x6 colorcube
{ 0x00, 0x00, 0x00, 0xff },
{ 0x00, 0x00, 0x5f, 0xff },