aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-11-14 20:02:16 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-11-14 20:02:16 +0100
commit2b31952731bc1c15d9a9521579b7609d50a65f01 (patch)
tree1d6311f90dfc14d1e8a7b1c101de8587135056af
parentc01f36a1f30c9a8846b75269522219b8f5ff6821 (diff)
fix C-n / C-p directions (thanks bastien)
-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) {
258 case XK_i: ksym = XK_Tab; break; 258 case XK_i: ksym = XK_Tab; break;
259 case XK_j: ksym = XK_Return; break; 259 case XK_j: ksym = XK_Return; break;
260 case XK_m: ksym = XK_Return; break; 260 case XK_m: ksym = XK_Return; break;
261 case XK_n: ksym = XK_Up; break; 261 case XK_n: ksym = XK_Down; break;
262 case XK_p: ksym = XK_Down; break; 262 case XK_p: ksym = XK_Up; break;
263 263
264 case XK_k: /* delete right */ 264 case XK_k: /* delete right */
265 text[cursor] = '\0'; 265 text[cursor] = '\0';