Skip to content

Commit

Permalink
pty: Set COLORTERM variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Persch committed Feb 13, 2016
1 parent e580396 commit 1dea919
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pty.cc
Expand Up @@ -294,6 +294,9 @@ __vte_pty_merge_environ (char **envp,

g_hash_table_replace (table, g_strdup ("VTE_VERSION"), g_strdup_printf ("%u", VTE_VERSION_NUMERIC));

/* Always set this ourself, not allowing replacing from envp */
g_hash_table_replace(table, g_strdup("COLORTERM"), g_strdup("truecolor"));

array = g_ptr_array_sized_new (g_hash_table_size (table) + 1);
g_hash_table_iter_init(&iter, table);
while (g_hash_table_iter_next(&iter, (void**) &name, (void**) &value)) {
Expand Down

0 comments on commit 1dea919

Please sign in to comment.