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:
@@ -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
|
||||
|
||||
@@ -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])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user