summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-11 07:51:31 +0000
committernicm <nicm>2021-08-11 07:51:31 +0000
commitf6755c6f2c6fd10a90984fadad4c9ac4a8a92027 (patch)
treeda45f16cce7e5adbbae0ab273518b049ac0bbeaf /tty.c
parentbe5988457f2993d5a6efa5f6d5add37690ea6a30 (diff)
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.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index cb0fdec0..61b38eec 100644
--- a/tty.c
+++ b/tty.c
@@ -2041,6 +2041,7 @@ tty_set_selection(struct tty *tty, const char *buf, size_t len)
b64_ntop(buf, len, encoded, size);
tty_putcode_ptr2(tty, TTYC_MS, "", encoded);
+ tty->client->redraw = EVBUFFER_LENGTH(tty->out);
free(encoded);
}