X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/2e96d5041e9e7a241d14305ae3e89637476c4968..21d2b241875c072a8700e838ae0da677a7b9d428:/mac/macterm.c diff --git a/mac/macterm.c b/mac/macterm.c index ff59e551..cdabbade 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $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 @@ -177,6 +177,7 @@ void mac_startsession(Session *s) 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); @@ -1255,8 +1256,7 @@ void set_raw_mouse_mode(void *frontend, int activate) 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); }