mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
OSC 52 can be long enough to make tmux think the output buffer is too
big, so treat it as a redraw. GitHub issue 2814.
This commit is contained in:
parent
be5988457f
commit
f6755c6f2c
1
tty.c
1
tty.c
@ -2041,6 +2041,7 @@ tty_set_selection(struct tty *tty, const char *buf, size_t len)
|
|||||||
|
|
||||||
b64_ntop(buf, len, encoded, size);
|
b64_ntop(buf, len, encoded, size);
|
||||||
tty_putcode_ptr2(tty, TTYC_MS, "", encoded);
|
tty_putcode_ptr2(tty, TTYC_MS, "", encoded);
|
||||||
|
tty->client->redraw = EVBUFFER_LENGTH(tty->out);
|
||||||
|
|
||||||
free(encoded);
|
free(encoded);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user