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
|
||||
Confirm selection and quit (print the text in the input field to stdout).
|
||||
.TP
|
||||
Escape (Control-[)
|
||||
Escape
|
||||
Quit without selecting an item.
|
||||
.TP
|
||||
Backspace (Control-h)
|
||||
|
|
4
main.c
4
main.c
|
@ -174,16 +174,12 @@ kpress(XKeyEvent * e)
|
|||
case XK_h:
|
||||
ksym = XK_BackSpace;
|
||||
break;
|
||||
case XK_U:
|
||||
case XK_u:
|
||||
text[0] = 0;
|
||||
match(text);
|
||||
drawmenu();
|
||||
return;
|
||||
break;
|
||||
case XK_bracketleft:
|
||||
ksym = XK_Escape;
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch(ksym) {
|
||||
|
|
Loading…
Reference in a new issue