This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
dmenu-rinri
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add ^a and ^e keybindings
master
pancake
14 years ago
parent
052ffae192
commit
29686bd1b8
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
dmenu.c
+ 8
- 0
dmenu.c
View File
@@ -394,6 +394,14 @@ kpress(XKeyEvent * e) {
switch (ksym) {
default: /* ignore other control sequences */
return;
case XK_a:
case XK_A:
cursor = 0;
break;
case XK_e:
case XK_E:
cursor = strlen(text);
break;
case XK_c:
case XK_C:
ksym = XK_Escape;
Write
Preview
Loading…
Cancel
Save