From 54a5dac4383888cfb5b6d32917ba2c22a42ea080 Mon Sep 17 00:00:00 2001 From: owen Date: Wed, 2 Feb 2005 19:56:29 +0000 Subject: [PATCH] Update the configuration when the window is resized. git-svn-id: svn://svn.tartarus.org/sgt/putty@5233 cda61777-01e9-0310-a592-d414129be87e --- mac/macterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mac/macterm.c b/mac/macterm.c index a80b113a..28898e6b 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -985,6 +985,8 @@ static void mac_growterm(WindowPtr window, EventRecord *event) newcols = (LoWord(grow_result) - 15) / s->font_width; mac_adjustsize(s, newrows, newcols); term_size(s->term, newrows, newcols, s->cfg.savelines); + s->cfg.height=s->term->rows; + s->cfg.width=s->term->cols; } } -- 2.11.0