mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Expand arguments to some commands where it makes sense, GitHub issue
3204 from Anindya Mukherjee.
This commit is contained in:
@ -151,7 +151,8 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item)
|
||||
char *cause = NULL;
|
||||
|
||||
if (args_has(args, 'N')) {
|
||||
np = args_strtonum(args, 'N', 1, UINT_MAX, &cause);
|
||||
np = args_strtonum_and_expand(args, 'N', 1, UINT_MAX, item,
|
||||
&cause);
|
||||
if (cause != NULL) {
|
||||
cmdq_error(item, "repeat count %s", cause);
|
||||
free(cause);
|
||||
|
Reference in New Issue
Block a user