commit 09db46f54fa671728498e14e8711b20301b266b7 from: Connor Lane Smith date: Tue Apr 13 20:14:45 2010 UTC fixed ^U cursor support commit - e3623cd7f24af660ef2b8cce89a232495d654237 commit + 09db46f54fa671728498e14e8711b20301b266b7 blob - 15a615262fb8c77bcdfdfc0082d2ca1d516d0af4 blob + 9f29c19380a0e31da4839ab0a39615ec2a8e0a69 --- dmenu.c +++ dmenu.c @@ -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: