changeset: 297:7c60dd86d97b
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue Apr 13 20:14:45 2010 +0000
files: dmenu.c
description:
fixed ^U cursor support
diff -r 21b640a11fdc -r 7c60dd86d97b dmenu.c
--- a/dmenu.c Wed Apr 07 16:15:34 2010 +0000
+++ b/dmenu.c Tue Apr 13 20:14:45 2010 +0000
@@ -414,8 +414,8 @@
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:
Received on Tue Apr 13 2010 - 20:18:49 UTC
This archive was generated by hypermail 2.2.0 : Tue Apr 13 2010 - 20:24:04 UTC