diff options
author | Christian Persch <chpe@gnome.org> | 2016-02-13 13:33:18 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2016-02-13 13:33:18 +0100 |
commit | 1dea919b9aa4b55e2c5c07bf2022769cbac365b5 (patch) | |
tree | a3e9d27d72361d734f47165842ddf8d23593308c | |
parent | e5803965891e6c22bd503b6a96c98097f6890ffd (diff) | |
download | vte-1dea919b9aa4b55e2c5c07bf2022769cbac365b5.tar.gz |
pty: Set COLORTERM variable
https://bugzilla.gnome.org/show_bug.cgi?id=754521
-rw-r--r-- | src/pty.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) { |