1
0

fix C-n / C-p directions (thanks bastien)

This commit is contained in:
Connor Lane Smith 2011-11-14 20:02:16 +01:00
parent 2359502757
commit e6a86af5e1

View File

@ -258,8 +258,8 @@ keypress(XKeyEvent *ev) {
case XK_i: ksym = XK_Tab; break; case XK_i: ksym = XK_Tab; break;
case XK_j: ksym = XK_Return; break; case XK_j: ksym = XK_Return; break;
case XK_m: ksym = XK_Return; break; case XK_m: ksym = XK_Return; break;
case XK_n: ksym = XK_Up; break; case XK_n: ksym = XK_Down; break;
case XK_p: ksym = XK_Down; break; case XK_p: ksym = XK_Up; break;
case XK_k: /* delete right */ case XK_k: /* delete right */
text[cursor] = '\0'; text[cursor] = '\0';