set terminal colors to xterm default ones.

dev
Aurélien Aptel 2010-09-02 22:35:55 +02:00
parent ebc287271c
commit 58083da61f
1 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
#define TAB 8 #define TAB 8
#define TNAME "st-256color" #define TNAME "st-256color"
#define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" #define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso8859-*"
#define BOLDFONT "-misc-*-bold-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" #define BOLDFONT "-misc-*-bold-r-semicondensed-*-13-*-*-*-*-*-iso8859-*"
@ -8,21 +8,21 @@
/* Terminal colors */ /* Terminal colors */
static const char *colorname[] = { static const char *colorname[] = {
"black", "black",
"#CC0000", "red3",
"#4E9A06", "green3",
"#C4A000", "yellow3",
"#3465A4", "blue2",
"#75507B", "magenta3",
"#06989A", "cyan3",
"#888a85", "gray90",
"#555753", "gray50",
"#EF2929", "red",
"#8AE234", "green",
"#FCE94F", "yellow",
"#729FCF", "#5c5cff",
"#AD7FA8", "magenta",
"#34E2E2", "cyan",
"#EEEEEC" "white"
}; };
/* Default colors (colorname index) */ /* Default colors (colorname index) */
@ -31,7 +31,7 @@ static const char *colorname[] = {
#define DefaultBG 0 #define DefaultBG 0
#define DefaultCS 1 #define DefaultCS 1
/* special keys */ /* Special keys */
static Key key[] = { static Key key[] = {
{ XK_BackSpace, "\177" }, { XK_BackSpace, "\177" },
{ XK_Delete, "\033[3~" }, { XK_Delete, "\033[3~" },
@ -53,7 +53,7 @@ static Key key[] = {
{ XK_F12, "\033[24~" }, { XK_F12, "\033[24~" },
}; };
/* line drawing characters (sometime specific to each font...) */ /* Line drawing characters (sometime specific to each font...) */
static char gfx[] = { static char gfx[] = {
['`'] = 0x01, ['`'] = 0x01,
['a'] = 0x02, ['a'] = 0x02,