This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dmenu
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fixed ^U cursor support
master
Connor Lane Smith
14 years ago
parent
e3623cd7f2
commit
09db46f54f
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dmenu.c
+ 1
- 1
dmenu.c
View File
@ -414,8 +414,8 @@ kpress(XKeyEvent * e) {
break
;
break
;
case
XK_u
:
case
XK_u
:
case
XK_U
:
case
XK_U
:
memmove
(
text
,
text
+
cursor
,
sizeof
text
-
cursor
+
1
)
;
cursor
=
0
;
cursor
=
0
;
text
[
0
]
=
'
\0
'
;
match
(
text
)
;
match
(
text
)
;
break
;
break
;
case
XK_w
:
case
XK_w
:
Write
Preview
Loading…
Cancel
Save