mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Send keys when they are complete not before (!= vs ==).
This commit is contained in:
parent
63ec791854
commit
1ef9a69f4f
@ -120,7 +120,7 @@ cmd_send_keys_inject_string(struct cmdq_item *item, struct cmdq_item *after,
|
||||
if (literal) {
|
||||
ud = utf8_fromcstr(s);
|
||||
for (uc = ud; uc->size != 0; uc++) {
|
||||
if (utf8_combine(uc, &wc) == UTF8_DONE)
|
||||
if (utf8_combine(uc, &wc) != UTF8_DONE)
|
||||
continue;
|
||||
after = cmd_send_keys_inject_key(item, after, wc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user