Set window title to current session. New options set-titles to disable.

This commit is contained in:
Nicholas Marriott
2008-06-18 18:52:44 +00:00
parent f9dedfccca
commit 8873c79cbc
8 changed files with 58 additions and 23 deletions

View File

@ -1,4 +1,4 @@
/* $Id: screen-write.c,v 1.7 2008-06-04 19:20:09 nicm Exp $ */
/* $Id: screen-write.c,v 1.8 2008-06-18 18:52:44 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -92,9 +92,6 @@ screen_write_set_title(struct screen_write_ctx *ctx, char *title)
xfree(s->title);
s->title = title;
if (ctx->write != NULL)
ctx->write(ctx->data, TTY_TITLE, s->title);
}
/* Put a character. */