add ^G escape keybinding

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

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

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

Loading…
Cancel
Save