mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Set the window title to the canonical host name when we connect.
[originally from svn r2574]
This commit is contained in:
parent
b4d37df579
commit
0e52f05217
@ -1,4 +1,4 @@
|
|||||||
/* $Id: macterm.c,v 1.44 2003/01/12 16:11:27 ben Exp $ */
|
/* $Id: macterm.c,v 1.45 2003/01/12 16:25:58 ben Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Simon Tatham
|
* Copyright (c) 1999 Simon Tatham
|
||||||
* Copyright (c) 1999, 2002 Ben Harris
|
* Copyright (c) 1999, 2002 Ben Harris
|
||||||
@ -177,6 +177,7 @@ void mac_startsession(Session *s)
|
|||||||
if (errmsg != NULL)
|
if (errmsg != NULL)
|
||||||
fatalbox("%s", errmsg);
|
fatalbox("%s", errmsg);
|
||||||
s->back->provide_logctx(s->backhandle, s->logctx);
|
s->back->provide_logctx(s->backhandle, s->logctx);
|
||||||
|
set_title(s, s->realhost);
|
||||||
|
|
||||||
term_provide_resize_fn(s->term, s->back->size, s->backhandle);
|
term_provide_resize_fn(s->term, s->back->size, s->backhandle);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user