Browse Source

removed C-[ from source and man page

master
Anselm R.Garbe 19 years ago
parent
commit
e4fbc43253
  1. 2
      dmenu.1
  2. 4
      main.c

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

@ -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…
Cancel
Save