Merge branch 'master' into sixel

This commit is contained in:
Nicholas Marriott
2021-12-08 10:37:33 +00:00
39 changed files with 1218 additions and 433 deletions

View File

@@ -1204,6 +1204,9 @@ tty_keys_clipboard(__unused struct tty *tty, const char *buf, size_t len,
buf += 5;
end -= 5;
/* Adjust end so that it points to the start of the terminator. */
end -= terminator - 1;
/* Get the second argument. */
while (end != 0 && *buf != ';') {
buf++;