mirror of
https://github.com/0intro/wmii
synced 2024-11-25 07:09:38 +03:00
Add Control-k support to wimenu.
This commit is contained in:
parent
47bd576f59
commit
0d268397c5
@ -29,6 +29,7 @@ enum {
|
||||
LBACKWARD,
|
||||
LCHAR,
|
||||
LCOMPLETE,
|
||||
LDELETE,
|
||||
LFIRST,
|
||||
LFORWARD,
|
||||
LHISTORY,
|
||||
|
@ -75,6 +75,7 @@ char *symtab[] = {
|
||||
"backward",
|
||||
"char",
|
||||
"complete",
|
||||
"delete",
|
||||
"first",
|
||||
"forward",
|
||||
"history",
|
||||
|
@ -29,6 +29,7 @@ Control-h Kill char
|
||||
Control-Backspace Kill word
|
||||
Control-w Kill word
|
||||
Control-u Kill line
|
||||
Control-k Delete line
|
||||
|
||||
Tab Complete next
|
||||
Control-i Complete next
|
||||
|
@ -288,6 +288,10 @@ kdown_event(Window *w, void *aux, XKeyEvent *e) {
|
||||
caret_delete(BACKWARD, amount);
|
||||
update_filter(true);
|
||||
break;
|
||||
case LDELETE:
|
||||
caret_delete(FORWARD, amount);
|
||||
update_filter(true);
|
||||
break;
|
||||
|
||||
case LACCEPT:
|
||||
srv.running = false;
|
||||
|
Loading…
Reference in New Issue
Block a user