artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf0961
)
OSC 52 can be long enough to make tmux think the output buffer is too
author
nicm
<nicm@openbsd.org>
Wed, 11 Aug 2021 07:51:31 +0000
(07:51 +0000)
committer
nicm
<nicm@openbsd.org>
Wed, 11 Aug 2021 07:51:31 +0000
(07:51 +0000)
big, so treat it as a redraw. GitHub issue 2814.
usr.bin/tmux/tty.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/tty.c
b/usr.bin/tmux/tty.c
index
801c1e8
..
dd1ea91
100644
(file)
--- a/
usr.bin/tmux/tty.c
+++ b/
usr.bin/tmux/tty.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tty.c,v 1.39
7 2021/08/06 07:32:2
1 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.39
8 2021/08/11 07:51:3
1 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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);
}