mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +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:
parent
1bfd89d722
commit
a185e16467
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user