diff --git a/dmenu.c b/dmenu.c index f6965b0..d0a58e9 100644 --- a/dmenu.c +++ b/dmenu.c @@ -478,14 +478,17 @@ keypress(XKeyEvent *ev) case XK_g: ksym = XK_Escape; break; case XK_h: ksym = XK_BackSpace; break; case XK_i: ksym = XK_Tab; break; - case XK_j: /* fallthrough */ + //case XK_j: /* fallthrough */ case XK_J: /* fallthrough */ case XK_m: /* fallthrough */ case XK_M: ksym = XK_Return; ev->state &= ~ControlMask; break; + case XK_j: /* fallthrough */ case XK_n: ksym = XK_Down; break; + case XK_k: /* fallthrough */ case XK_p: ksym = XK_Up; break; - case XK_k: /* delete right */ + //case XK_k: /* delete right */ + case XK_l: /* delete right */ text[cursor] = '\0'; match(); break;