aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-08-19 19:02:40 +0100
committerThomas Adam <thomas@xteddy.org>2018-08-19 19:02:40 +0100
commit9ecf657703b85972c41291ab111f07b4ea16b47a (patch)
treea49804d35e9d6649462476dd057c221b2c3823ec /tty.c
parente811132b055914f1b7b58fa14a56cd6664d34f7a (diff)
parent88327c7698fc45a16d1a5235d71a078d419febb4 (diff)
downloadrtmux-9ecf657703b85972c41291ab111f07b4ea16b47a.tar.gz
rtmux-9ecf657703b85972c41291ab111f07b4ea16b47a.tar.bz2
rtmux-9ecf657703b85972c41291ab111f07b4ea16b47a.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index b02cefc7..2397f8c4 100644
--- a/tty.c
+++ b/tty.c
@@ -179,7 +179,7 @@ tty_timer_callback(__unused int fd, __unused short events, void *data)
log_debug("%s: %zu discarded", c->name, tty->discarded);
- c->flags |= CLIENT_REDRAW;
+ c->flags |= CLIENT_ALLREDRAWFLAGS;
c->discarded += tty->discarded;
if (tty->discarded < TTY_BLOCK_STOP(tty)) {
@@ -1049,7 +1049,7 @@ tty_client_ready(struct client *c, struct window_pane *wp)
{
if (c->session == NULL || c->tty.term == NULL)
return (0);
- if (c->flags & (CLIENT_REDRAW|CLIENT_SUSPENDED))
+ if (c->flags & (CLIENT_REDRAWWINDOW|CLIENT_SUSPENDED))
return (0);
if (c->tty.flags & TTY_FREEZE)
return (0);