From: simon Date: Fri, 25 Oct 2002 22:00:22 +0000 (+0000) Subject: Oops; remembering to call term_provide_resize_fn in the Unix front X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/78843a7c937b67b321c0495b79a53915cb45ab7a Oops; remembering to call term_provide_resize_fn in the Unix front end would probably help. Thanks Colin. git-svn-id: svn://svn.tartarus.org/sgt/putty@2140 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/pterm.c b/unix/pterm.c index 961fa1d9..53ca4428 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -1962,6 +1962,8 @@ int main(int argc, char **argv) back = &pty_backend; back->init((void *)term, &backhandle, NULL, 0, NULL, 0); + term_provide_resize_fn(term, back->size, backhandle); + term_size(term, cfg.height, cfg.width, cfg.savelines); ldisc_send(NULL, 0, 0); /* cause ldisc to notice changes */