removed C-[ from source and man page
authorAnselm R.Garbe <arg@10ksloc.org>
Thu, 10 Aug 2006 08:09:44 +0000 (10:09 +0200)
committerAnselm R.Garbe <arg@10ksloc.org>
Thu, 10 Aug 2006 08:09:44 +0000 (10:09 +0200)
dmenu.1
main.c

diff --git a/dmenu.1 b/dmenu.1
index db919db..926b559 100644 (file)
--- 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 (file)
--- 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) {