1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

request_resize() needs to call term_size() to tell the terminal emulator

that its resize request has been approved.

[originally from svn r2591]
This commit is contained in:
Ben Harris 2003-01-14 15:24:51 +00:00
parent 1bfd89d722
commit a185e16467

View File

@ -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 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris * 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) { void request_resize(void *frontend, int w, int h) {
Session *s = frontend; Session *s = frontend;
s->term->cols = w; term_size(s->term, h, w, s->cfg.savelines);
s->term->rows = h;
mac_initfont(s); mac_initfont(s);
} }