aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c4
1 files changed, 2 insertions, 2 deletions
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';