From: Anselm R.Garbe Date: Thu, 10 Aug 2006 08:09:44 +0000 (+0200) Subject: removed C-[ from source and man page X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=e4fbc432534bfb42a0b0d97bcdd687274780e95e;p=dmenu.git removed C-[ from source and man page --- diff --git a/dmenu.1 b/dmenu.1 index db919db..926b559 100644 --- a/dmenu.1 +++ b/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) diff --git a/main.c b/main.c index 561f88f..3458fd5 100644 --- a/main.c +++ b/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) {