all repos — dmenu @ 29686bd1b8513ba7512ab089cfdbc7df44986409

my build of dmenu

add ^a and ^e keybindings
pancake nopcode.org
Thu, 01 Apr 2010 19:10:41 +0200
commit

29686bd1b8513ba7512ab089cfdbc7df44986409

parent

052ffae1924a2760baa32f41e01de82e73e0bc5e

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -394,6 +394,14 @@ if(e->state & ControlMask) {

switch (ksym) { default: /* ignore other control sequences */ return; + case XK_a: + case XK_A: + cursor = 0; + break; + case XK_e: + case XK_E: + cursor = strlen(text); + break; case XK_c: case XK_C: ksym = XK_Escape;