fix C-n / C-p directions (thanks bastien)
This commit is contained in:
parent
c01f36a1f3
commit
2b31952731
1 changed files with 2 additions and 2 deletions
4
dmenu.c
4
dmenu.c
|
@ -258,8 +258,8 @@ keypress(XKeyEvent *ev) {
|
|||
case XK_i: ksym = XK_Tab; break;
|
||||
case XK_j: ksym = XK_Return; break;
|
||||
case XK_m: ksym = XK_Return; break;
|
||||
case XK_n: ksym = XK_Up; break;
|
||||
case XK_p: ksym = XK_Down; break;
|
||||
case XK_n: ksym = XK_Down; break;
|
||||
case XK_p: ksym = XK_Up; break;
|
||||
|
||||
case XK_k: /* delete right */
|
||||
text[cursor] = '\0';
|
||||
|
|
Loading…
Reference in a new issue