summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authornicm <nicm>2016-09-12 15:40:58 +0000
committernicm <nicm>2016-09-12 15:40:58 +0000
commit2e5584c2b41df1c1b836c3229ea78f8ea3d81054 (patch)
tree1f790c7d13f657d2e22bb292c56968cbc84bf675 /status.c
parentfed1e384ad7eb88cc6203e49d4efa8e5ed4edb59 (diff)
Allow repeat count to be specified in mode key tables with bind-key -R,
and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index 607d6476..cc86cb02 100644
--- a/status.c
+++ b/status.c
@@ -818,7 +818,7 @@ status_prompt_key(struct client *c, key_code key)
size_t size, n, off, idx, bufsize;
size = strlen(c->prompt_buffer);
- switch (mode_key_lookup(&c->prompt_mdata, key, NULL)) {
+ switch (mode_key_lookup(&c->prompt_mdata, key, NULL, NULL)) {
case MODEKEYEDIT_CURSORLEFT:
if (c->prompt_index > 0) {
c->prompt_index--;