diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-11-18 01:00:04 +0100 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-11-18 01:00:04 +0100 |
commit | 9b74fcadc46ee78b38b20e9663c6924cd9df7e84 (patch) | |
tree | c45b32598a5beecc045952774374feed73779fce /config.def.h | |
parent | d581bfccd7c2987e12809383d8ce1f833529b715 (diff) | |
download | st-9b74fcadc46ee78b38b20e9663c6924cd9df7e84.tar.gz st-9b74fcadc46ee78b38b20e9663c6924cd9df7e84.zip |
utf8 support! print text in delicious unicode greatness! all hail to the glorious Damian Okrasa for the patch!
TERM set back to xterm.
changed default fonts.
Note: drawing is now (even) slower.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/config.def.h b/config.def.h index 36982db..b33e9b6 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 "xterm" |
3 | #define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" | 3 | #define FONT "-*-*-medium-r-*-*-*-120-75-75-*-60-*-*" |
4 | #define BOLDFONT "-misc-*-bold-r-semicondensed-*-13-*-*-*-*-*-iso8859-*" | 4 | #define BOLDFONT "-*-*-bold-r-*-*-*-120-75-75-*-60-*-*" |
5 | #define BORDER 2 | 5 | #define BORDER 2 |
6 | #define SHELL "/bin/sh" | 6 | #define SHELL "/bin/sh" |
7 | 7 | ||
@@ -55,31 +55,8 @@ static Key key[] = { | |||
55 | 55 | ||
56 | /* Line drawing characters (sometime specific to each font...) */ | 56 | /* Line drawing characters (sometime specific to each font...) */ |
57 | static char gfx[] = { | 57 | static char gfx[] = { |
58 | ['`'] = 0x01, | ||
59 | ['a'] = 0x02, | ||
60 | ['f'] = 'o', | 58 | ['f'] = 'o', |
61 | ['g'] = '+', | 59 | ['g'] = '+', |
62 | ['i'] = '#', | 60 | ['i'] = '#', |
63 | ['j'] = 0x0B, | ||
64 | ['k'] = 0x0C, | ||
65 | ['l'] = 0x0D, | ||
66 | ['m'] = 0x0E, | ||
67 | ['n'] = 0x0F, | ||
68 | ['o'] = 0x10, | ||
69 | ['p'] = 0x11, | ||
70 | ['q'] = 0x12, | ||
71 | ['r'] = 0x13, | ||
72 | ['s'] = 0x14, | ||
73 | ['t'] = 0x15, | ||
74 | ['u'] = 0x16, | ||
75 | ['v'] = 0x17, | ||
76 | ['w'] = 0x18, | ||
77 | ['x'] = 0x19, | ||
78 | ['y'] = 0x1A, | ||
79 | ['z'] = 0x1B, | ||
80 | ['{'] = 0x1C, | ||
81 | ['|'] = 0x1D, | ||
82 | ['}'] = 0x1E, | ||
83 | ['~'] = 0x1F, | ||
84 | [255] = 0, | 61 | [255] = 0, |
85 | }; | 62 | }; |