diff options
| author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-02-08 23:16:55 +0100 |
|---|---|---|
| committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-02-08 23:16:55 +0100 |
| commit | eff05c7b90429ac4dddbbc53ac7d4c05dfc5efd4 (patch) | |
| tree | 41be2ccd915515b4223624d165a2bb08bd94692b /config.h | |
| parent | graphic charset and a few more escapes. (diff) | |
| download | st-eff05c7b90429ac4dddbbc53ac7d4c05dfc5efd4.tar.gz st-eff05c7b90429ac4dddbbc53ac7d4c05dfc5efd4.zip | |
more escapes & more compability:
cursor keys are handled in kpress according to the Application Mode (DECPAM).
define & enum were renamed.
tcursor() is now tmovecursor() which is more correct.
tcpos() is now tcursor(), as DECSC is also supposed to save attributes.
capnames are indicated whenever possible.
Currently:
alsamixer looks fine, totally usable.
ncmpc is almost ok.
emacs looks like shit.
Diffstat (limited to '')
| -rw-r--r-- | config.h | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -31,10 +31,6 @@ static Key key[] = { | |||
| 31 | { XK_End, "\033[4~" }, | 31 | { XK_End, "\033[4~" }, |
| 32 | { XK_Prior, "\033[5~" }, | 32 | { XK_Prior, "\033[5~" }, |
| 33 | { XK_Next, "\033[6~" }, | 33 | { XK_Next, "\033[6~" }, |
| 34 | { XK_Left, "\033[D" }, | ||
| 35 | { XK_Right, "\033[C" }, | ||
| 36 | { XK_Up, "\033[A" }, | ||
| 37 | { XK_Down, "\033[B" }, | ||
| 38 | }; | 34 | }; |
| 39 | 35 | ||
| 40 | static char gfx[] = { | 36 | static char gfx[] = { |
| @@ -70,4 +66,5 @@ static char gfx[] = { | |||
| 70 | ['l'] = '+', | 66 | ['l'] = '+', |
| 71 | ['k'] = '+', | 67 | ['k'] = '+', |
| 72 | ['x'] = '|', | 68 | ['x'] = '|', |
| 69 | [255] = 0, | ||
| 73 | }; | 70 | }; |
