applied Sanders dmenu_ctrlchars.patch (thanks!)
authorAnselm R. Garbe <arg@suckless.org>
Wed, 10 Jan 2007 22:07:03 +0000 (23:07 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Wed, 10 Jan 2007 22:07:03 +0000 (23:07 +0100)
main.c

diff --git a/main.c b/main.c
index 115fbde..46e0b44 100644 (file)
--- a/main.c
+++ b/main.c
@@ -171,6 +171,14 @@ kpress(XKeyEvent * e) {
                case XK_H:
                        ksym = XK_BackSpace;
                        break;
+               case XK_i:
+               case XK_I:
+                       ksym = XK_Tab;
+                       break;
+               case XK_j:
+               case XK_J:
+                       ksym = XK_Return;
+                       break;
                case XK_u:
                case XK_U:
                        text[0] = 0;