diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-11 17:50:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-11 17:50:36 +0000 |
commit | 03d531ebc6058f0c3d4f5d2a5471255d23c0b93e (patch) | |
tree | 7d4f79ccbee7673ee6fea28ab9c91e8e8803655b /cmd-new-session.c | |
parent | 65378588acc59fe1cf5121dc41aa782812b8033d (diff) |
Move sx,sy into tty rather than client.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r-- | cmd-new-session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c index 76dd5130..537b3fe5 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -1,4 +1,4 @@ -/* $Id: cmd-new-session.c,v 1.38 2009-01-23 16:59:14 nicm Exp $ */ +/* $Id: cmd-new-session.c,v 1.39 2009-02-11 17:50:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -146,8 +146,8 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx) sx = 80; sy = 25; if (!data->flag_detached) { - sx = c->sx; - sy = c->sy; + sx = c->tty.sx; + sy = c->tty.sy; } if (options_get_number(&global_options, "status")) { |