Xinqi Bao's Git

fixed background color bug (thx Devin J. Pohly).
[st.git] / config.h
1 #define TAB 8
2
3 #define FONT "6x13"
4 #define BOLDFONT FONT"bold"
5 #define BORDER 2
6
7 /* Terminal colors */
8 static const char *colorname[] = {
9 "black",
10 "red",
11 "green",
12 "yellow",
13 "blue",
14 "magenta",
15 "cyan",
16 "white",
17 };
18
19 /* Default colors (colorname index) */
20 /* foreground, background, cursor, visual bell */
21 #define DefaultFG 7
22 #define DefaultBG 0
23 #define DefaultCS 1
24 #define BellCol DefaultFG
25
26 /* special keys */
27 static Key key[] = {
28 { XK_Delete, "\033[3~" },
29 { XK_Home, "\033[1~" },
30 { XK_End, "\033[4~" },
31 { XK_Prior, "\033[5~" },
32 { XK_Next, "\033[6~" },
33 };
34
35 static char gfx[] = {
36 ['}'] = 'f',
37 ['.'] = 'v',
38 [','] = '<',
39 ['+'] = '>',
40 ['-'] = '^',
41 ['h'] = '#',
42 ['~'] = 'o',
43 ['a'] = ':',
44 ['f'] = '\\',
45 ['`'] = '+',
46 ['z'] = '>',
47 ['{'] = '*',
48 ['q'] = '-',
49 ['i'] = '#',
50 ['n'] = '+',
51 ['y'] = '<',
52 ['m'] = '+',
53 ['j'] = '+',
54 ['|'] = '!',
55 ['g'] = '#',
56 ['o'] = '~',
57 ['p'] = '-',
58 ['r'] = '-',
59 ['s'] = '_',
60 ['0'] = '#',
61 ['w'] = '+',
62 ['u'] = '+',
63 ['t'] = '+',
64 ['v'] = '+',
65 ['l'] = '+',
66 ['k'] = '+',
67 ['x'] = '|',
68 [255] = 0,
69 };