diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 21:48:55 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:18:28 +0000 |
commit | c643478ad84c4e30539c5b18d23718eccf292506 (patch) | |
tree | bd0054a332ebd2b375657d6c0464814cb529c810 /src/binds.c | |
parent | 65c9826bab96fe9925b7bc03caec2298f57a04a0 (diff) | |
download | imv-c643478ad84c4e30539c5b18d23718eccf292506.tar.gz |
Add default_binds option to prevent conflicts
Diffstat (limited to 'src/binds.c')
-rw-r--r-- | src/binds.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binds.c b/src/binds.c index 23ee43f..f1c4c65 100644 --- a/src/binds.c +++ b/src/binds.c @@ -121,6 +121,12 @@ enum bind_result imv_binds_add(struct imv_binds *binds, const struct list *keys, return result; } +void imv_binds_clear(struct imv_binds *binds) +{ + destroy_bind_node(&binds->bind_tree); + init_bind_node(&binds->bind_tree); +} + enum lookup_result { LOOKUP_PARTIAL, LOOKUP_INVALID, |