1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 23:34:49 -05:00

Oops; remembering to call term_provide_resize_fn in the Unix front

end would probably help. Thanks Colin.

[originally from svn r2140]
This commit is contained in:
Simon Tatham 2002-10-25 22:00:22 +00:00
parent 5df8e45c2e
commit ba0468b983

View 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 */