aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-09-02 22:35:55 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-09-02 22:35:55 +0200
commita997fea2c0644167d20a6cb9181180fc8b617cca (patch)
tree4c8c95b3b80b419700c6d3e71b21b1f97b8750f1
parente87203dea60f043a7d32d747c1d2d76de0b38fd0 (diff)
downloadst-patched-a997fea2c0644167d20a6cb9181180fc8b617cca.tar.bz2
st-patched-a997fea2c0644167d20a6cb9181180fc8b617cca.tar.xz
st-patched-a997fea2c0644167d20a6cb9181180fc8b617cca.zip
set terminal colors to xterm default ones.
-rw-r--r--config.def.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/config.def.h b/config.def.h
index d729a5f..36982db 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,4 +1,4 @@
1#define TAB 8 1#define TAB 8
2#define TNAME "st-256color" 2#define TNAME "st-256color"
3#define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" 3#define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso8859-*"
4#define BOLDFONT "-misc-*-bold-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" 4#define BOLDFONT "-misc-*-bold-r-semicondensed-*-13-*-*-*-*-*-iso8859-*"
@@ -8,21 +8,21 @@
8/* Terminal colors */ 8/* Terminal colors */
9static const char *colorname[] = { 9static const char *colorname[] = {
10 "black", 10 "black",
11 "#CC0000", 11 "red3",
12 "#4E9A06", 12 "green3",
13 "#C4A000", 13 "yellow3",
14 "#3465A4", 14 "blue2",
15 "#75507B", 15 "magenta3",
16 "#06989A", 16 "cyan3",
17 "#888a85", 17 "gray90",
18 "#555753", 18 "gray50",
19 "#EF2929", 19 "red",
20 "#8AE234", 20 "green",
21 "#FCE94F", 21 "yellow",
22 "#729FCF", 22 "#5c5cff",
23 "#AD7FA8", 23 "magenta",
24 "#34E2E2", 24 "cyan",
25 "#EEEEEC" 25 "white"
26}; 26};
27 27
28/* Default colors (colorname index) */ 28/* Default colors (colorname index) */
@@ -31,7 +31,7 @@ static const char *colorname[] = {
31#define DefaultBG 0 31#define DefaultBG 0
32#define DefaultCS 1 32#define DefaultCS 1
33 33
34/* special keys */ 34/* Special keys */
35static Key key[] = { 35static Key key[] = {
36 { XK_BackSpace, "\177" }, 36 { XK_BackSpace, "\177" },
37 { XK_Delete, "\033[3~" }, 37 { XK_Delete, "\033[3~" },
@@ -53,7 +53,7 @@ static Key key[] = {
53 { XK_F12, "\033[24~" }, 53 { XK_F12, "\033[24~" },
54}; 54};
55 55
56/* line drawing characters (sometime specific to each font...) */ 56/* Line drawing characters (sometime specific to each font...) */
57static char gfx[] = { 57static char gfx[] = {
58 ['`'] = 0x01, 58 ['`'] = 0x01,
59 ['a'] = 0x02, 59 ['a'] = 0x02,