X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/5366aed8eefc275bcff5862885da511dbe16ccdf..78843a7c937b67b321c0495b79a53915cb45ab7a:/unix/pterm.c 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 */