aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-27 23:22:01 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-27 23:29:04 +0100
commitf52050784e7e1426eafb5e69bc2fa37219415406 (patch)
tree52ce0d5e3137ac77969ddb256a32e26910c43c98 /vis.h
parentb7c6c43b64dd88a3f3cff692bf224654aef9b1e2 (diff)
downloadvis-f52050784e7e1426eafb5e69bc2fa37219415406.tar.gz
vis-f52050784e7e1426eafb5e69bc2fa37219415406.tar.xz
vis: properly free dynamic key bindings
The handling of :unmap needs to be revisited at some point.
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h3
1 files changed, 3 insertions, 0 deletions
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,