-/* $Id: macterm.c,v 1.44 2003/01/12 16:11:27 ben Exp $ */
+/* $Id: macterm.c,v 1.46 2003/01/14 15:24:51 ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
if (errmsg != NULL)
fatalbox("%s", errmsg);
s->back->provide_logctx(s->backhandle, s->logctx);
+ set_title(s, s->realhost);
term_provide_resize_fn(s->term, s->back->size, s->backhandle);
void request_resize(void *frontend, int w, int h) {
Session *s = frontend;
- s->term->cols = w;
- s->term->rows = h;
+ term_size(s->term, h, w, s->cfg.savelines);
mac_initfont(s);
}