From f52050784e7e1426eafb5e69bc2fa37219415406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 27 Dec 2016 23:22:01 +0100 Subject: vis: properly free dynamic key bindings The handling of :unmap needs to be revisited at some point. --- vis.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 3b9ede7..ef8897d 100644 --- a/vis.h +++ b/vis.h @@ -152,6 +152,9 @@ void vis_exit(Vis*, int status); /* emergency exit, print given message, perform minimal ui cleanup and exit process */ void vis_die(Vis*, const char *msg, ...) __attribute__((noreturn,format(printf, 2, 3))); +KeyBinding *vis_binding_new(Vis*); +void vis_binding_free(Vis*, KeyBinding*); + enum VisMode { VIS_MODE_NORMAL, VIS_MODE_OPERATOR_PENDING, -- cgit v1.2.3