set VTE_VERSION to what gnome-terminal sets it

Addresses issue #99
This commit is contained in:
Simon Gomizelj 2013-06-14 14:29:56 -04:00
parent 661ededa76
commit a9ba1e9913
1 changed files with 1 additions and 0 deletions

View File

@ -1407,6 +1407,7 @@ int main(int argc, char **argv) {
char **env = g_get_environ(); char **env = g_get_environ();
env = g_environ_setenv(env, "WINDOWID", xid_s, TRUE); env = g_environ_setenv(env, "WINDOWID", xid_s, TRUE);
env = g_environ_setenv(env, "TERM", term, TRUE); env = g_environ_setenv(env, "TERM", term, TRUE);
env = g_environ_setenv(env, "VTE_VERSION", "3405", TRUE);
GPid ppid; GPid ppid;
if (g_spawn_async(nullptr, command_argv, env, if (g_spawn_async(nullptr, command_argv, env,