Skip to content

Commit 29536a9

Browse files
sunweaversc0w
authored andcommitted
src/terminal-screen.c: Set TERM to 'xterm-256color' (instead of just 'xterm'). This provides 256 colors terminal application support.
Fixes #209.
1 parent 000df06 commit 29536a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/terminal-screen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ get_child_environment (TerminalScreen *screen,
14281428
g_hash_table_remove (env_table, "LINES");
14291429
g_hash_table_remove (env_table, "MATE_DESKTOP_ICON");
14301430

1431-
g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm")); /* FIXME configurable later? */
1431+
g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm-256color")); /* FIXME configurable later? */
14321432

14331433
/* FIXME: moving the tab between windows, or the window between displays will make the next two invalid... */
14341434
g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window))));

0 commit comments

Comments
 (0)