summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.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 /cmd-new-session.c
parent85486246761d1af0f0f13a20606077f11fa2d799 (diff)
The default terminal size should be 80x24, not 80x25.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index a05a4846..df1ec45c 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -197,7 +197,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;