1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

core: fix update of window title under tmux (closes #685)

This commit is contained in:
Sébastien Helleu
2016-02-07 14:07:51 +01:00
parent f9ce19a01d
commit c9a8f23cc7
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
[[1.5_bugs]]
=== Bugs fixed
* core: fix update of window title under tmux (issue #685)
* core: fix detection of python shared libraries (issue #676)
* api: fix number of arguments returned by function string_split() when
keep_eol is 2 and the string ends with separators
+2 -1
View File
@@ -2467,7 +2467,8 @@ gui_window_set_title (const char *title)
{
printf ("\33]0;%s\7", new_title);
}
else if (strncmp (envterm, "screen", 6) == 0)
else if ((strncmp (envterm, "screen", 6) == 0)
|| (strncmp (envterm, "tmux", 4) == 0))
{
if (title && title[0])
{