Skip to content
Permalink
Browse files

src/terminal-screen.c: Set TERM to 'xterm-256color' (instead of just …

…'xterm'). This provides 256 colors terminal application support.

 Fixes #209.
  • Loading branch information...
sunweaver authored and sc0w committed Jan 9, 2019
1 parent 000df06 commit 29536a9f07125091f9a06c435b3e9acf42e26968
Showing with 1 addition and 1 deletion.
  1. +1 −1 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))));

0 comments on commit 29536a9

Please sign in to comment.
You can’t perform that action at this time.