aboutsummaryrefslogtreecommitdiff
path: root/server-msg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-15 07:45:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-15 07:45:16 +0000
commitf39865e8e4aa1a8918c64cfc40fb0acc644861a4 (patch)
treef36a70a9efa45bdc23111911b7a1da48978a846b /server-msg.c
parent85486246761d1af0f0f13a20606077f11fa2d799 (diff)
downloadrtmux-f39865e8e4aa1a8918c64cfc40fb0acc644861a4.tar.gz
rtmux-f39865e8e4aa1a8918c64cfc40fb0acc644861a4.tar.bz2
rtmux-f39865e8e4aa1a8918c64cfc40fb0acc644861a4.zip
The default terminal size should be 80x24, not 80x25.
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-msg.c b/server-msg.c
index 8c50339d..cb5dbf06 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -248,7 +248,7 @@ server_msg_identify(struct client *c, struct msg_identify_data *data, int fd)
c->tty.sx = 80;
c->tty.sy = data->sy;
if (c->tty.sy == 0)
- c->tty.sy = 25;
+ c->tty.sy = 24;
c->cwd = NULL;
data->cwd[(sizeof data->cwd) - 1] = '\0';
@@ -278,7 +278,7 @@ server_msg_resize(struct client *c, struct msg_resize_data *data)
c->tty.sx = 80;
c->tty.sy = data->sy;
if (c->tty.sy == 0)
- c->tty.sy = 25;
+ c->tty.sy = 24;
c->tty.cx = UINT_MAX;
c->tty.cy = UINT_MAX;