search: add support for user configurable key bindings

No default bindings defined yet, though.
This commit is contained in:
Daniel Eklöf 2020-03-08 15:28:47 +01:00
parent fcf4832775
commit 0d188895c3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 31 additions and 9 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <stdint.h>
#include <wayland-client.h>
#include "wayland.h"
@ -8,3 +9,5 @@ extern const struct wl_keyboard_listener keyboard_listener;
extern const struct wl_pointer_listener pointer_listener;
void input_repeat(struct wayland *wayl, uint32_t key);
void input_execute_binding(
struct terminal *term, enum binding_action action, uint32_t serial);