From 86893895235b5e5dd0616c8cbc3c4531a807d0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 17 Jun 2022 18:42:42 +0200 Subject: [PATCH] key-binding: set BIND_ACTION_KEY_COUNT correctly When the new promp-prev/next bindings were added, we forgot to update BIND_ACTION_KEY_COUNT to reflect this. --- key-binding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key-binding.h b/key-binding.h index 179b978b..1c0e2a99 100644 --- a/key-binding.h +++ b/key-binding.h @@ -48,7 +48,7 @@ enum bind_action_normal { BIND_ACTION_SELECT_WORD_WS, BIND_ACTION_SELECT_ROW, - BIND_ACTION_KEY_COUNT = BIND_ACTION_TEXT_BINDING + 1, + BIND_ACTION_KEY_COUNT = BIND_ACTION_PROMPT_NEXT + 1, BIND_ACTION_COUNT = BIND_ACTION_SELECT_ROW + 1, };