From: ben Date: Tue, 14 Jan 2003 15:24:51 +0000 (+0000) Subject: request_resize() needs to call term_size() to tell the terminal emulator X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/97c511f60934408185f60245af3c606bf20ca9e6 request_resize() needs to call term_size() to tell the terminal emulator that its resize request has been approved. git-svn-id: svn://svn.tartarus.org/sgt/putty@2591 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mac/macterm.c b/mac/macterm.c index 1f14b423..cdabbade 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.45 2003/01/12 16:25:58 ben Exp $ */ +/* $Id: macterm.c,v 1.46 2003/01/14 15:24:51 ben Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -1256,8 +1256,7 @@ void set_raw_mouse_mode(void *frontend, int activate) void request_resize(void *frontend, int w, int h) { Session *s = frontend; - s->term->cols = w; - s->term->rows = h; + term_size(s->term, h, w, s->cfg.savelines); mac_initfont(s); }