aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-06-17 16:42:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-06-17 16:42:42 +0000
commit86893895235b5e5dd0616c8cbc3c4531a807d0cd (patch)
treec4f96f6bfae36cb7098e7623f7a9061b85898ffd
parentosc: add support for OSC 133;A (prompt markers) (diff)
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.
-rw-r--r--key-binding.h2
1 files changed, 1 insertions, 1 deletions
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,
};