Oops; remembering to call term_provide_resize_fn in the Unix front
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 25 Oct 2002 22:00:22 +0000 (22:00 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 25 Oct 2002 22:00:22 +0000 (22:00 +0000)
end would probably help. Thanks Colin.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2140 cda61777-01e9-0310-a592-d414129be87e

unix/pterm.c

index 961fa1d..53ca442 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 */