mirror of git://git.suckless.org/dmenu
rebind ^N ^P
This commit is contained in:
parent
0288b576ca
commit
34a816f87d
|
@ -1,5 +1,5 @@
|
||||||
# dmenu version
|
# dmenu version
|
||||||
VERSION = 4.3.1
|
VERSION = 4.4
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
|
4
dmenu.c
4
dmenu.c
|
@ -268,10 +268,10 @@ keypress(XKeyEvent *ev) {
|
||||||
match(False);
|
match(False);
|
||||||
break;
|
break;
|
||||||
case XK_n:
|
case XK_n:
|
||||||
ksym = XK_Down;
|
ksym = XK_Next;
|
||||||
break;
|
break;
|
||||||
case XK_p:
|
case XK_p:
|
||||||
ksym = XK_Up;
|
ksym = XK_Prior;
|
||||||
break;
|
break;
|
||||||
case XK_u: /* delete left */
|
case XK_u: /* delete left */
|
||||||
insert(NULL, 0 - cursor);
|
insert(NULL, 0 - cursor);
|
||||||
|
|
Loading…
Reference in New Issue