diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-09-15 23:52:30 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-09-15 23:52:30 +0000 |
commit | dbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b (patch) | |
tree | e81d733da10b9d8baed4bb402fe7d0596a371eda /server-msg.c | |
parent | 960cd3da69952e30535209e3bc486bba6e2c9af0 (diff) | |
download | rtmux-dbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b.tar.gz rtmux-dbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b.tar.bz2 rtmux-dbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b.zip |
Sync OpenBSD patchset 327:
The default terminal size should be 80x24, not 80x25.
Diffstat (limited to 'server-msg.c')
-rw-r--r-- | server-msg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server-msg.c b/server-msg.c index dcb42623..b79fe215 100644 --- a/server-msg.c +++ b/server-msg.c @@ -1,4 +1,4 @@ -/* $Id: server-msg.c,v 1.83 2009-09-03 20:44:38 tcunha Exp $ */ +/* $Id: server-msg.c,v 1.84 2009-09-15 23:52:30 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |