From 2e5584c2b41df1c1b836c3229ea78f8ea3d81054 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 12 Sep 2016 15:40:58 +0000 Subject: 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. --- status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'status.c') 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--; -- cgit