mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Update the configuration when the window is resized.
[originally from svn r5233]
This commit is contained in:
parent
ea225b5889
commit
00c57c6bc5
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user