From f26b8c57ffb253db08072629b7c969c021580492 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 19 Oct 2021 12:51:43 +0000 Subject: [PATCH] Same as -N, don't send if 0 arguments and -R. --- cmd-send-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd-send-keys.c b/cmd-send-keys.c index 46cb37f0..d6a95434 100644 --- a/cmd-send-keys.c +++ b/cmd-send-keys.c @@ -203,7 +203,7 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item) } if (count == 0) { - if (args_has(args, 'N')) + if (args_has(args, 'N') || args_has(args, 'R')) return (CMD_RETURN_NORMAL); for (; np != 0; np--) cmd_send_keys_inject_key(item, NULL, event->key);