billiob pushed a commit to branch terminology-1.8. http://git.enlightenment.org/apps/terminology.git/commit/?id=a05db782395468d0871c59be99646bf44351c9c2
commit a05db782395468d0871c59be99646bf44351c9c2 Author: Boris Faure <bill...@gmail.com> Date: Sat Sep 12 17:40:01 2020 +0200 termpty: make provided title as forced title --- src/bin/termpty.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index 7736cec..dcf9056 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -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) --