diff options
author | raveit65 <[email protected]> | 2018-01-24 15:14:58 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-24 15:14:58 +0100 |
commit | 8e3de226d0c59060bd06aa0010fdc6ef1e37e0ca (patch) | |
tree | 0a3633237da06ecfdd497a63cd0d0e104ada8909 /src | |
parent | d3f29749a5e2ca5a21f9900717d6c0fc4ace906c (diff) | |
download | mate-terminal-8e3de226d0c59060bd06aa0010fdc6ef1e37e0ca.tar.bz2 mate-terminal-8e3de226d0c59060bd06aa0010fdc6ef1e37e0ca.tar.xz |
revert parts of previous commit
Without this line a terminal can be unusable.
Causes color and linewrap problems in ie. fedora.
See comments in previous PR ate github
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal-screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c index 421b144..c0e8a9f 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -1424,6 +1424,8 @@ 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? */ + /* 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)))); g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display))); |