aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 15a6152..9f29c19 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -414,8 +414,8 @@ kpress(XKeyEvent * e) {
414 break; 414 break;
415 case XK_u: 415 case XK_u:
416 case XK_U: 416 case XK_U:
417 memmove(text, text + cursor, sizeof text - cursor + 1);
417 cursor = 0; 418 cursor = 0;
418 text[0] = '\0';
419 match(text); 419 match(text);
420 break; 420 break;
421 case XK_w: 421 case XK_w: