Browse Source

add ^G escape keybinding

master
Karl F 13 years ago
parent
commit
50145384c8
  1. 3
      dmenu.1
  2. 1
      dmenu.c

3
dmenu.1

@ -107,6 +107,9 @@ End
C\-f C\-f
Right Right
.TP .TP
C\-g
Escape
.TP
C\-h C\-h
Backspace Backspace
.TP .TP

1
dmenu.c

@ -251,6 +251,7 @@ keypress(XKeyEvent *ev) {
case XK_d: ksym = XK_Delete; break; case XK_d: ksym = XK_Delete; break;
case XK_e: ksym = XK_End; break; case XK_e: ksym = XK_End; break;
case XK_f: ksym = XK_Right; break; case XK_f: ksym = XK_Right; break;
case XK_g: ksym = XK_Escape; break;
case XK_h: ksym = XK_BackSpace; break; case XK_h: ksym = XK_BackSpace; break;
case XK_i: ksym = XK_Tab; break; case XK_i: ksym = XK_Tab; break;
case XK_j: ksym = XK_Return; break; case XK_j: ksym = XK_Return; break;

Loading…
Cancel
Save