artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f31f77
)
Same as -N, don't send if 0 arguments and -R.
author
nicm
<nicm@openbsd.org>
Tue, 19 Oct 2021 12:51:43 +0000
(12:51 +0000)
committer
nicm
<nicm@openbsd.org>
Tue, 19 Oct 2021 12:51:43 +0000
(12:51 +0000)
usr.bin/tmux/cmd-send-keys.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/cmd-send-keys.c
b/usr.bin/tmux/cmd-send-keys.c
index
9e5adf8
..
f86a284
100644
(file)
--- a/
usr.bin/tmux/cmd-send-keys.c
+++ b/
usr.bin/tmux/cmd-send-keys.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmd-send-keys.c,v 1.7
0 2021/10/15 10:39:22
nicm Exp $ */
+/* $OpenBSD: cmd-send-keys.c,v 1.7
1 2021/10/19 12:51:43
nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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);