graphic charset and a few more escapes.

This commit is contained in:
Aurélien Aptel
2010-02-03 16:18:04 +01:00
parent 85e81bd8a6
commit fe32c542ec
2 changed files with 110 additions and 16 deletions

View File

@ -36,3 +36,38 @@ static Key key[] = {
{ XK_Up, "\033[A" },
{ XK_Down, "\033[B" },
};
static char gfx[] = {
['}'] = 'f',
['.'] = 'v',
[','] = '<',
['+'] = '>',
['-'] = '^',
['h'] = '#',
['~'] = 'o',
['a'] = ':',
['f'] = '\\',
['`'] = '+',
['z'] = '>',
['{'] = '*',
['q'] = '-',
['i'] = '#',
['n'] = '+',
['y'] = '<',
['m'] = '+',
['j'] = '+',
['|'] = '!',
['g'] = '#',
['o'] = '~',
['p'] = '-',
['r'] = '-',
['s'] = '_',
['0'] = '#',
['w'] = '+',
['u'] = '+',
['t'] = '+',
['v'] = '+',
['l'] = '+',
['k'] = '+',
['x'] = '|',
};