aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2018-09-26 18:41:18 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2018-09-26 18:41:18 +0100
commitebaf54251a6e3a1b366531155ab59dbd286a4a3a (patch)
tree596067245f03b7a10bf4500cc10adc7863f46894 /tty.c
parentb74b047730226a64a64b1e1dd1cc1d7f3305ea53 (diff)
downloadrtmux-ebaf54251a6e3a1b366531155ab59dbd286a4a3a.tar.gz
rtmux-ebaf54251a6e3a1b366531155ab59dbd286a4a3a.tar.bz2
rtmux-ebaf54251a6e3a1b366531155ab59dbd286a4a3a.zip
Add formats for when window is larger than client, and show offset in
status-right by default when larger.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 7e52755c..510a442a 100644
--- a/tty.c
+++ b/tty.c
@@ -815,7 +815,7 @@ tty_update_client_offset(struct client *c)
c->tty.osx = sx;
c->tty.osy = sy;
- c->flags |= CLIENT_REDRAWWINDOW;
+ c->flags |= (CLIENT_REDRAWWINDOW|CLIENT_REDRAWSTATUS);
}
/*