summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <[email protected]>2019-01-09 12:59:58 +0100
committerZenWalker <[email protected]>2019-01-12 15:33:26 +0100
commit29536a9f07125091f9a06c435b3e9acf42e26968 (patch)
tree5ba757d823cb28a2173360a360ed94947c19b357 /src
parent000df06686484a2ed78c701088868c864dd0fb45 (diff)
downloadmate-terminal-29536a9f07125091f9a06c435b3e9acf42e26968.tar.bz2
mate-terminal-29536a9f07125091f9a06c435b3e9acf42e26968.tar.xz
src/terminal-screen.c: Set TERM to 'xterm-256color' (instead of just 'xterm'). This provides 256 colors terminal application support.
Fixes #209.
Diffstat (limited to 'src')
-rw-r--r--src/terminal-screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 648a87e..7328c0a 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1428,7 +1428,7 @@ get_child_environment (TerminalScreen *screen,
g_hash_table_remove (env_table, "LINES");
g_hash_table_remove (env_table, "MATE_DESKTOP_ICON");
- g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm")); /* FIXME configurable later? */
+ g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm-256color")); /* FIXME configurable later? */
/* FIXME: moving the tab between windows, or the window between displays will make the next two invalid... */
g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window))));