projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops; remembering to call term_provide_resize_fn in the Unix front
[u/mdw/putty]
/
unix
/
pterm.c
diff --git
a/unix/pterm.c
b/unix/pterm.c
index
961fa1d
..
53ca442
100644
(file)
--- 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);
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 */
term_size(term, cfg.height, cfg.width, cfg.savelines);
ldisc_send(NULL, 0, 0); /* cause ldisc to notice changes */