diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-09-01 00:30:39 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-09-01 00:30:39 +0200 |
commit | f2482b322ac44fe407025a394a0bd963e742ae13 (patch) | |
tree | ce3520fe4021db061b145fb0f59d71af88a9ea8b /config.def.h | |
parent | 60df49df91d95a8c318e918fcf760618e97dbad2 (diff) | |
download | st-patched-f2482b322ac44fe407025a394a0bd963e742ae13.tar.bz2 st-patched-f2482b322ac44fe407025a394a0bd963e742ae13.tar.xz st-patched-f2482b322ac44fe407025a394a0bd963e742ae13.zip |
added correct line drawing characters for default font.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/config.def.h b/config.def.h index 9506bc6..01f6a7c 100644 --- a/config.def.h +++ b/config.def.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #define TAB 8 | 1 | #define TAB 8 |
2 | #define TNAME "st-256color" | 2 | #define TNAME "st-256color" |
3 | #define FONT "6x13" | 3 | #define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" |
4 | #define BOLDFONT "6x13bold" | 4 | #define BOLDFONT "-misc-*-bold-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" |
5 | #define BORDER 2 | 5 | #define BORDER 2 |
6 | #define SHELL "/bin/sh" | 6 | #define SHELL "/bin/sh" |
7 | 7 | ||
@@ -26,7 +26,7 @@ static const char *colorname[] = { | |||
26 | }; | 26 | }; |
27 | 27 | ||
28 | /* Default colors (colorname index) */ | 28 | /* Default colors (colorname index) */ |
29 | /* foreground, background, cursor, visual bell */ | 29 | /* foreground, background, cursor */ |
30 | #define DefaultFG 7 | 30 | #define DefaultFG 7 |
31 | #define DefaultBG 0 | 31 | #define DefaultBG 0 |
32 | #define DefaultCS 1 | 32 | #define DefaultCS 1 |
@@ -53,38 +53,39 @@ 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 | static char gfx[] = { | 57 | static char gfx[] = { |
57 | ['}'] = 'f', | ||
58 | ['.'] = 'v', | ||
59 | [','] = '<', | ||
60 | ['+'] = '>', | 58 | ['+'] = '>', |
59 | [','] = '<', | ||
61 | ['-'] = '^', | 60 | ['-'] = '^', |
61 | ['.'] = 'v', | ||
62 | ['0'] = '#', | ||
63 | ['`'] = 0x01, | ||
64 | ['a'] = 0x02, | ||
65 | ['f'] = 'o', | ||
66 | ['g'] = '+', | ||
62 | ['h'] = '#', | 67 | ['h'] = '#', |
63 | ['~'] = 'o', | ||
64 | ['a'] = ':', | ||
65 | ['f'] = '\\', | ||
66 | ['`'] = '+', | ||
67 | ['z'] = '>', | ||
68 | ['{'] = '*', | ||
69 | ['q'] = '-', | ||
70 | ['i'] = '#', | 68 | ['i'] = '#', |
71 | ['n'] = '+', | 69 | ['j'] = 0x0B, |
72 | ['y'] = '<', | 70 | ['k'] = 0x0C, |
73 | ['m'] = '+', | 71 | ['l'] = 0x0D, |
74 | ['j'] = '+', | 72 | ['m'] = 0x0E, |
75 | ['|'] = '!', | 73 | ['n'] = 0x0F, |
76 | ['g'] = '#', | 74 | ['o'] = 0x10, |
77 | ['o'] = '~', | 75 | ['p'] = 0x11, |
78 | ['p'] = '-', | 76 | ['q'] = 0x12, |
79 | ['r'] = '-', | 77 | ['r'] = 0x13, |
80 | ['s'] = '_', | 78 | ['s'] = 0x14, |
81 | ['0'] = '#', | 79 | ['t'] = 0x15, |
82 | ['w'] = '+', | 80 | ['u'] = 0x16, |
83 | ['u'] = '+', | 81 | ['v'] = 0x17, |
84 | ['t'] = '+', | 82 | ['w'] = 0x18, |
85 | ['v'] = '+', | 83 | ['x'] = 0x19, |
86 | ['l'] = '+', | 84 | ['y'] = 0x1A, |
87 | ['k'] = '+', | 85 | ['z'] = 0x1B, |
88 | ['x'] = '|', | 86 | ['{'] = 0x1C, |
87 | ['|'] = 0x1D, | ||
88 | ['}'] = 0x1E, | ||
89 | ['~'] = 0x1F, | ||
89 | [255] = 0, | 90 | [255] = 0, |
90 | }; | 91 | }; |