From a24b31d9e133ad261dadfccf115f28ca5af77ed5 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 25 Nov 2019 10:53:33 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D0=B0=D1=82=D1=87=20=D0=BD=D0=B0=20=D0=B7?= =?utf8?q?=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BE=D0=BA=20Lynx=20=D0=B2?= =?utf8?q?=20tmux?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit В продолжении 5921d398e70fd8227bbeaae070604ffef7357d55 осилил-таки перерисовку окна (без необходимости нажимать Ctrl-L) добавлением одной строки. Теперь куда меньше геморроя! --- src/GridText.c.orig 2017-07-04 20:27:07.000000000 +0300 +++ src/GridText.c 2019-11-25 10:49:48.406034000 +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. -- 2.50.0