]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Oops; remembering to call term_provide_resize_fn in the Unix front
authorSimon Tatham <anakin@pobox.com>
Fri, 25 Oct 2002 22:00:22 +0000 (22:00 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 25 Oct 2002 22:00:22 +0000 (22:00 +0000)
end would probably help. Thanks Colin.

[originally from svn r2140]

unix/pterm.c

index 961fa1d96bbd88f7113ea2d66fd1f22a3ba74472..53ca44285ab98bc9a9cd37c048944fe1e6a2c8e1 100644 (file)
@@ -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 */