diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-27 23:22:01 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-27 23:29:04 +0100 |
| commit | f52050784e7e1426eafb5e69bc2fa37219415406 (patch) | |
| tree | 52ce0d5e3137ac77969ddb256a32e26910c43c98 /vis.h | |
| parent | b7c6c43b64dd88a3f3cff692bf224654aef9b1e2 (diff) | |
| download | vis-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |
