removed C-[ from source and man page
This commit is contained in:
parent
66f2a93eaa
commit
e4fbc43253
2 changed files with 1 additions and 5 deletions
2
dmenu.1
2
dmenu.1
|
@ -41,7 +41,7 @@ Confirm selection and quit (print the selected item to stdout).
|
||||||
Shift-Return
|
Shift-Return
|
||||||
Confirm selection and quit (print the text in the input field to stdout).
|
Confirm selection and quit (print the text in the input field to stdout).
|
||||||
.TP
|
.TP
|
||||||
Escape (Control-[)
|
Escape
|
||||||
Quit without selecting an item.
|
Quit without selecting an item.
|
||||||
.TP
|
.TP
|
||||||
Backspace (Control-h)
|
Backspace (Control-h)
|
||||||
|
|
4
main.c
4
main.c
|
@ -174,16 +174,12 @@ kpress(XKeyEvent * e)
|
||||||
case XK_h:
|
case XK_h:
|
||||||
ksym = XK_BackSpace;
|
ksym = XK_BackSpace;
|
||||||
break;
|
break;
|
||||||
case XK_U:
|
|
||||||
case XK_u:
|
case XK_u:
|
||||||
text[0] = 0;
|
text[0] = 0;
|
||||||
match(text);
|
match(text);
|
||||||
drawmenu();
|
drawmenu();
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
case XK_bracketleft:
|
|
||||||
ksym = XK_Escape;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch(ksym) {
|
switch(ksym) {
|
||||||
|
|
Loading…
Reference in a new issue