From eff05c7b90429ac4dddbbc53ac7d4c05dfc5efd4 Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Mon, 8 Feb 2010 23:16:55 +0100 Subject: 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. --- config.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 0e04ab1..a7fc58c 100644 --- a/config.h +++ b/config.h @@ -31,10 +31,6 @@ static Key key[] = { { XK_End, "\033[4~" }, { XK_Prior, "\033[5~" }, { XK_Next, "\033[6~" }, - { XK_Left, "\033[D" }, - { XK_Right, "\033[C" }, - { XK_Up, "\033[A" }, - { XK_Down, "\033[B" }, }; static char gfx[] = { @@ -70,4 +66,5 @@ static char gfx[] = { ['l'] = '+', ['k'] = '+', ['x'] = '|', + [255] = 0, }; -- cgit v1.2.3-70-g09d2