diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-10 10:09:44 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-10 10:09:44 +0200 |
commit | e4fbc432534bfb42a0b0d97bcdd687274780e95e (patch) | |
tree | aa7cbcaf47411c46e5ae8cebb2c45a933133d94c | |
parent | 66f2a93eaa25255daac4316bbaf5f41098a7fd45 (diff) |
removed C-[ from source and man page
-rw-r--r-- | dmenu.1 | 2 | ||||
-rw-r--r-- | main.c | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -41,7 +41,7 @@ Confirm selection and quit (print the selected item to stdout). | |||
41 | Shift-Return | 41 | Shift-Return |
42 | Confirm selection and quit (print the text in the input field to stdout). | 42 | Confirm selection and quit (print the text in the input field to stdout). |
43 | .TP | 43 | .TP |
44 | Escape (Control-[) | 44 | Escape |
45 | Quit without selecting an item. | 45 | Quit without selecting an item. |
46 | .TP | 46 | .TP |
47 | Backspace (Control-h) | 47 | Backspace (Control-h) |
@@ -174,16 +174,12 @@ kpress(XKeyEvent * e) | |||
174 | case XK_h: | 174 | case XK_h: |
175 | ksym = XK_BackSpace; | 175 | ksym = XK_BackSpace; |
176 | break; | 176 | break; |
177 | case XK_U: | ||
178 | case XK_u: | 177 | case XK_u: |
179 | text[0] = 0; | 178 | text[0] = 0; |
180 | match(text); | 179 | match(text); |
181 | drawmenu(); | 180 | drawmenu(); |
182 | return; | 181 | return; |
183 | break; | 182 | break; |
184 | case XK_bracketleft: | ||
185 | ksym = XK_Escape; | ||
186 | break; | ||
187 | } | 183 | } |
188 | } | 184 | } |
189 | switch(ksym) { | 185 | switch(ksym) { |