aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.12
-rw-r--r--main.c4
2 files changed, 1 insertions, 5 deletions
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) {