send-keys -R should reset the input parser to ground state (so it can be

used to escape from, for example, printf '\033]2;').
This commit is contained in:
nicm
2015-12-16 22:05:35 +00:00
parent 021c64310d
commit 99e9a4c786
3 changed files with 37 additions and 28 deletions

View File

@ -86,7 +86,7 @@ cmd_send_keys_exec(struct cmd *self, struct cmd_q *cmdq)
}
if (args_has(args, 'R'))
input_reset(wp);
input_reset(wp, 1);
for (i = 0; i < args->argc; i++) {
literal = args_has(args, 'l');