Что: a24b31d9e133ad261dadfccf115f28ca5af77ed5 Когда: 2019-11-25 10:53:33+03:00 ------------------------------------------------------------------------ Темы: tip tmux web ------------------------------------------------------------------------ Патч на заголовок Lynx в tmux В продолжении 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. ------------------------------------------------------------------------ оставить комментарий: mailto:comment@blog.stargrave.org?subject=Re:%20%D0%9F%D0%B0%D1%82%D1%87%20%D0%BD%D0%B0%20%D0%B7%D0%B0%D0%B3%D0%BE%D0%BB%D0%BE%D0%B2%D0%BE%D0%BA%20Lynx%20%D0%B2%20tmux%20%28a24b31d9e133ad261dadfccf115f28ca5af77ed5%29 ------------------------------------------------------------------------ Сгенерирован: SGBlog 0.34.0