1
0

removed C-[ from source and man page

This commit is contained in:
Anselm R.Garbe 2006-08-10 10:09:44 +02:00
parent 66f2a93eaa
commit e4fbc43253
2 changed files with 1 additions and 5 deletions

View File

@ -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
View File

@ -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) {