aboutsummaryrefslogtreecommitdiff
path: root/src/binds.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2018-11-26 21:27:29 +0000
committerHarry Jeffery <harry@exec64.co.uk>2018-11-26 21:27:29 +0000
commit2fa568c628f5a66c5ca2cb8ef79528a1b4287080 (patch)
tree7d430f8ba2d0f24464c0a42052224f12526ea6ac /src/binds.h
parentd2b8d20d43b01a37737c39e35effbf334a21617d (diff)
downloadimv-2fa568c628f5a66c5ca2cb8ef79528a1b4287080.tar.gz
binds: Add imv_binds_clear_key
Diffstat (limited to 'src/binds.h')
-rw-r--r--src/binds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binds.h b/src/binds.h
index a720fe1..5af7b5a 100644
--- a/src/binds.h
+++ b/src/binds.h
@@ -25,6 +25,9 @@ enum bind_result imv_binds_add(struct imv_binds *binds, const struct list *keys,
/* Remove all key bindings */
void imv_binds_clear(struct imv_binds *binds);
+/* Clear all bindings for a key*/
+void imv_binds_clear_key(struct imv_binds *binds, const struct list *keys);
+
/* Fetch the list of keys pressed so far */
const struct list *imv_bind_input_buffer(struct imv_binds *binds);