debian/patches/1002_xterm-256color.patch: Enable 256 colors support in terminals. (Closes: #800832).

This commit is contained in:
Mike Gabriel
2019-01-09 12:40:39 +01:00
parent d406987f51
commit 28dc6edf89
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Description: Enable 256 color support in terminals.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1440,7 +1440,7 @@
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))));

View File

@ -1,2 +1,3 @@
0001_fix_setting_transparency.patch
1001_add-keywords-to-desktop-files.patch
1002_xterm-256color.patch