diff options
Diffstat (limited to 'src/GridText.c')
-rw-r--r-- | src/GridText.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/GridText.c b/src/GridText.c index 13f2fc1a..44825b5b 100644 --- a/src/GridText.c +++ b/src/GridText.c @@ -1,5 +1,5 @@ /* - * $LynxId: GridText.c,v 1.321 2020/01/21 22:19:23 tom Exp $ + * $LynxId: GridText.c,v 1.324 2020/02/24 00:30:01 tom Exp $ * * Character grid hypertext object * =============================== @@ -1734,6 +1734,13 @@ static void display_title(HText *text) percent[0] = '\0'; } + /* Update the terminal-emulator title */ + if (update_term_title) { + CTRACE((tfp, "update_term_title:%s\n", title)); + fprintf(stderr, "\033]0;%s%sLynx\007", title, *title ? " - " : ""); + fflush(stderr); + } + /* * Generate and display the title string, with page indicator * if appropriate, preceded by the toolbar token if appropriate, |