Skip to content

Commit

Permalink
src/terminal-screen.c: Set TERM to 'xterm-256color' (instead of just …
Browse files Browse the repository at this point in the history
…'xterm'). This provides 256 colors terminal application support.

 Fixes #209.
  • Loading branch information
sunweaver authored and sc0w committed Jan 12, 2019
1 parent 000df06 commit 29536a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal-screen.c
Expand Up @@ -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))));
Expand Down

0 comments on commit 29536a9

Please sign in to comment.