From 00c57c6bc5bd0d32f6e0659e35229c15885a6dd3 Mon Sep 17 00:00:00 2001 From: Owen Dunn Date: Wed, 2 Feb 2005 19:56:29 +0000 Subject: [PATCH] Update the configuration when the window is resized. [originally from svn r5233] --- 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; } }