summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <[email protected]>2019-01-09 12:59:58 +0100
committerraveit65 <[email protected]>2019-01-13 09:11:00 +0100
commit4f89d21a0c2e14c7ca43b9bb32f7ba0aa52c505c (patch)
treee86f6ef0be720b04a22c6d63f77a6883440d5e02
parent82c02f815f3be21fa899d8eb3513ba494f04f489 (diff)
downloadmate-terminal-4f89d21a0c2e14c7ca43b9bb32f7ba0aa52c505c.tar.bz2
mate-terminal-4f89d21a0c2e14c7ca43b9bb32f7ba0aa52c505c.tar.xz
src/terminal-screen.c: Set TERM to 'xterm-256color' (instead of just 'xterm'). This provides 256 colors terminal application support.
Fixes #209.
-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 73fa9ae..b18e51c 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1421,7 +1421,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))));