Merge branch 'terminology-1.8'

This commit is contained in:
Boris Faure 2020-09-12 17:44:57 +02:00
commit 1cf29feb2f
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 8 additions and 1 deletions

View File

@ -630,7 +630,14 @@ termpty_new(const char *cmd, Eina_Bool login_shell, const char *cd,
arg0 = strrchr(args[0], '/');
if (!arg0) arg0 = args[0];
else arg0++;
ty->prop.title = eina_stringshare_add(title? title : arg0);
if (title)
{
ty->prop.title = eina_stringshare_add(title);
ty->prop.user_title = eina_stringshare_add(title);
}
else
ty->prop.title = eina_stringshare_add(arg0);
ty->fd = posix_openpt(O_RDWR | O_NOCTTY);
if (ty->fd < 0)