From: Connor Lane Smith Date: Mon, 14 Nov 2011 19:02:16 +0000 (+0100) Subject: fix C-n / C-p directions (thanks bastien) X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=2b31952731bc1c15d9a9521579b7609d50a65f01;p=dmenu.git fix C-n / C-p directions (thanks bastien) --- diff --git a/dmenu.c b/dmenu.c index f71b056..d0e27da 100644 --- a/dmenu.c +++ b/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';