diff --git a/cmd-send-keys.c b/cmd-send-keys.c index 47fa1caa..46cb37f0 100644 --- a/cmd-send-keys.c +++ b/cmd-send-keys.c @@ -203,6 +203,8 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item) } if (count == 0) { + if (args_has(args, 'N')) + return (CMD_RETURN_NORMAL); for (; np != 0; np--) cmd_send_keys_inject_key(item, NULL, event->key); return (CMD_RETURN_NORMAL);