[CONTACT]

[ABOUT]

[POLICY]

git clone dmenu dmenu Log gph

Found at: gopher.r-36.net:70/scm/dmenu/commit/09db46f54fa671728498e14e8711b20301b266b7.gph

tfixed ^U cursor support - dmenu - Dmenu fork with xft fonts.

git clone git://r-36.net/dmenu

Log

Files

Refs

README

LICENSE

---

commit 09db46f54fa671728498e14e8711b20301b266b7

parent e3623cd7f24af660ef2b8cce89a232495d654237

Author: Connor Lane Smith

Date:   Tue, 13 Apr 2010 20:14:45 +0000
fixed ^U cursor support
Diffstat:
  dmenu.c                             |       2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---

diff --git a/dmenu.c b/dmenu.c

t@@ -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:
.


AD: