[hackers] [dmenu] add ^G escape keybinding || Karl F

From: <hg_AT_suckless.org>
Date: Mon, 23 Jan 2012 22:50:08 +0100 (CET)

changeset: 485:1659395e4de0
tag: tip
user: Karl F <karlf_AT_thep.lu.se>
date: Thu Jan 19 22:52:17 2012 +0000
files: dmenu.1 dmenu.c
description:
add ^G escape keybinding


diff -r 0b6490d9a62b -r 1659395e4de0 dmenu.1
--- a/dmenu.1 Wed Jan 18 23:56:13 2012 +0000
+++ b/dmenu.1 Thu Jan 19 22:52:17 2012 +0000
_AT_@ -107,6 +107,9 @@
 C\-f
 Right
 .TP
+C\-g
+Escape
+.TP
 C\-h
 Backspace
 .TP
diff -r 0b6490d9a62b -r 1659395e4de0 dmenu.c
--- a/dmenu.c Wed Jan 18 23:56:13 2012 +0000
+++ b/dmenu.c Thu Jan 19 22:52:17 2012 +0000
_AT_@ -251,6 +251,7 @@
                 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;
Received on Mon Jan 23 2012 - 22:50:08 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 23 2012 - 23:00:14 CET