From f81851cbe3a9d6e285655aa3b1bdb62f3bc34f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 12 Jan 2008 12:41:55 +0000 Subject: [PATCH] * Made the colors of our Terminal a bit easier to look at, especially in the ls output. * Made the array the size it actually is. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23437 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermView.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index 0c27a626a0..abc1e2f5a2 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -47,15 +47,15 @@ extern int function_keycode_table[]; extern char *function_key_char_table[]; -const static rgb_color kTermColorTable[16] = { - { 0, 0, 0, 0}, - {255, 0, 0, 0}, - { 0, 255, 0, 0}, - {255, 255, 0, 0}, - { 0, 0, 255, 0}, - {255, 0, 255, 0}, - { 0, 255, 255, 0}, - {255, 255, 255, 0}, +const static rgb_color kTermColorTable[8] = { + { 40, 40, 40, 0}, // black + {204, 0, 0, 0}, // red + { 78, 154, 6, 0}, // green + {218, 168, 0, 0}, // yellow + { 51, 102, 152, 0}, // blue + {115, 68, 123, 0}, // magenta + { 6, 152, 154, 0}, // cyan + {245, 245, 245, 0}, // white };