From 2fa568c628f5a66c5ca2cb8ef79528a1b4287080 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Mon, 26 Nov 2018 21:27:29 +0000 Subject: binds: Add imv_binds_clear_key --- src/binds.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/binds.h') 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); -- cgit v1.2.3