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
applied Alex Sedov's Tab buffer termination patch, thanks
master
Anselm R Garbe
11 years ago
parent
0d12a47415
commit
ec64f273fb
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
dmenu.c
+ 2
- 1
dmenu.c
View File
@ -392,7 +392,8 @@ keypress(XKeyEvent *ev) {
case
XK_Tab
:
if
(
!
sel
)
return
;
strncpy
(
text
,
sel
-
>
text
,
sizeof
text
)
;
strncpy
(
text
,
sel
-
>
text
,
sizeof
text
-
1
)
;
text
[
sizeof
text
-
1
]
=
'
\0
'
;
cursor
=
strlen
(
text
)
;
match
(
)
;
break
;
Write
Preview
Loading…
Cancel
Save