[anjuta] bgo #566194 - Garbage in the message pane for messages with bold font



commit 16e436d0696d636bc7f23f16394aba47d6e4de2e
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Feb 28 23:04:12 2010 +0100

    bgo #566194 -  Garbage in the message pane for messages with bold font

 plugins/build-basic-autotools/program.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/build-basic-autotools/program.c b/plugins/build-basic-autotools/program.c
index 171d813..3f32e13 100644
--- a/plugins/build-basic-autotools/program.c
+++ b/plugins/build-basic-autotools/program.c
@@ -300,7 +300,10 @@ build_program_new_with_command (const gchar *directory, const gchar *command,...
 	if (prog == NULL) return NULL;
 
 	build_program_set_working_directory (prog, directory);
-	
+
+	/* Avoid terminal control sequence */
+	build_program_add_env (prog, "TERM", "dumb");
+
 	va_start (args, command);
 	full_command = g_strdup_vprintf (command, args);
 	va_end (args);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]