aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-02-03 16:18:04 +0100
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-02-03 16:18:04 +0100
commite6b3f5c755349ba7a339dd43958870e4cceb57bf (patch)
tree7d30fc28a52ba6b2a739e62045a2dd15b26740c7 /config.h
parent0981437524b64579cc656f60b0108abdcdf8a0cd (diff)
downloadst-e6b3f5c755349ba7a339dd43958870e4cceb57bf.tar.gz
st-e6b3f5c755349ba7a339dd43958870e4cceb57bf.zip
graphic charset and a few more escapes.
Diffstat (limited to 'config.h')
-rw-r--r--config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/config.h b/config.h
index 7da5848..0e04ab1 100644
--- a/config.h
+++ b/config.h
@@ -36,3 +36,38 @@ static Key key[] = {
36 { XK_Up, "\033[A" }, 36 { XK_Up, "\033[A" },
37 { XK_Down, "\033[B" }, 37 { XK_Down, "\033[B" },
38}; 38};
39
40static char gfx[] = {
41 ['}'] = 'f',
42 ['.'] = 'v',
43 [','] = '<',
44 ['+'] = '>',
45 ['-'] = '^',
46 ['h'] = '#',
47 ['~'] = 'o',
48 ['a'] = ':',
49 ['f'] = '\\',
50 ['`'] = '+',
51 ['z'] = '>',
52 ['{'] = '*',
53 ['q'] = '-',
54 ['i'] = '#',
55 ['n'] = '+',
56 ['y'] = '<',
57 ['m'] = '+',
58 ['j'] = '+',
59 ['|'] = '!',
60 ['g'] = '#',
61 ['o'] = '~',
62 ['p'] = '-',
63 ['r'] = '-',
64 ['s'] = '_',
65 ['0'] = '#',
66 ['w'] = '+',
67 ['u'] = '+',
68 ['t'] = '+',
69 ['v'] = '+',
70 ['l'] = '+',
71 ['k'] = '+',
72 ['x'] = '|',
73};