diff options
-rw-r--r-- | dmenu.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -394,6 +394,14 @@ kpress(XKeyEvent * e) { | |||
394 | switch (ksym) { | 394 | switch (ksym) { |
395 | default: /* ignore other control sequences */ | 395 | default: /* ignore other control sequences */ |
396 | return; | 396 | return; |
397 | case XK_a: | ||
398 | case XK_A: | ||
399 | cursor = 0; | ||
400 | break; | ||
401 | case XK_e: | ||
402 | case XK_E: | ||
403 | cursor = strlen(text); | ||
404 | break; | ||
397 | case XK_c: | 405 | case XK_c: |
398 | case XK_C: | 406 | case XK_C: |
399 | ksym = XK_Escape; | 407 | ksym = XK_Escape; |