1
0
mirror of git://git.suckless.org/dmenu synced 2024-12-14 18:45:36 +00:00

fixed ^U cursor support

This commit is contained in:
Connor Lane Smith 2010-04-13 20:14:45 +00:00
parent e3623cd7f2
commit 09db46f54f

View File

@ -414,8 +414,8 @@ kpress(XKeyEvent * e) {
break;
case XK_u:
case XK_U:
memmove(text, text + cursor, sizeof text - cursor + 1);
cursor = 0;
text[0] = '\0';
match(text);
break;
case XK_w: