summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-15 23:52:30 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-15 23:52:30 +0000
commitdbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b (patch)
treee81d733da10b9d8baed4bb402fe7d0596a371eda /cmd-new-session.c
parent960cd3da69952e30535209e3bc486bba6e2c9af0 (diff)
Sync OpenBSD patchset 327:
The default terminal size should be 80x24, not 80x25.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index 58dadc61..148404ed 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-new-session.c,v 1.64 2009-09-13 20:56:52 tcunha Exp $ */
+/* $Id: cmd-new-session.c,v 1.65 2009-09-15 23:52:30 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -224,7 +224,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
/* Find new session size. */
if (detached) {
sx = 80;
- sy = 25;
+ sy = 24;
} else if (ctx->cmdclient != NULL) {
sx = ctx->cmdclient->tty.sx;
sy = ctx->cmdclient->tty.sy;