termpty: set TERM_PROGRAM/TERM_PROGRAM_VERSION env variables

This commit is contained in:
Boris Faure 2020-05-06 23:49:00 +02:00
parent 106f8b5c9a
commit 9977b8a63b
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 2 additions and 0 deletions

View File

@ -769,6 +769,8 @@ termpty_new(const char *cmd, Eina_Bool login_shell, const char *cd,
putenv("TERM=xterm");
}
putenv("XTERM_256_COLORS=1");
putenv("TERM_PROGRAM=terminology");
putenv("TERM_PROGRAM_VERSION=" PACKAGE_VERSION);
if (window_id)
{
char buf[256];