mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Same as -N, don't send if 0 arguments and -R.
This commit is contained in:
parent
51ff77d47b
commit
f26b8c57ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user