diff options
| -rw-r--r-- | dmenu-wl.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -423,6 +423,11 @@ handle_keyboard_event() case XKB_KEY_Escape: running = 0; break; + case XKB_KEY_Tab: + if (options.selection) { + strncpy(input_field, options.selection->name, MAX_LINE_LENGTH); + } + break; case XKB_KEY_BackSpace: if (strlen(input_field)) input_field[strlen(input_field) - 1] = 0; |