--- src/GridText.c.orig 2017-07-04 20:27:07.000000000 +0300 +++ src/GridText.c 2019-11-19 18:51:34.136176000 +0300 @@ -1658,6 +1658,17 @@ if (!text) return; + /* + * Load the title field. -FM + */ + StrAllocCopy(title, + (HTAnchor_title(text->node_anchor) ? + HTAnchor_title(text->node_anchor) : " ")); /* "" -> " " */ + LYReduceBlanks(title); + printf("\033]2;%s\a\n", title); + lynx_force_repaint(); + LYrefresh(); + lynx_start_title_color(); #ifdef USE_COLOR_STYLE /* turn the TITLE style on */ @@ -1667,14 +1678,6 @@ LynxChangeStyle(s_title, ABS_ON); } #endif /* USE_COLOR_STYLE */ - - /* - * Load the title field. -FM - */ - StrAllocCopy(title, - (HTAnchor_title(text->node_anchor) ? - HTAnchor_title(text->node_anchor) : " ")); /* "" -> " " */ - LYReduceBlanks(title); /* * Generate the page indicator (percent) string.