[gnome-builder] terminal: add \n to diagnostic information



commit 44acb41ddc7c748df2ae70dbbdaa9de0e99d90c0
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 6 11:42:05 2019 -0700

    terminal: add \n to diagnostic information

 src/libide/terminal/ide-terminal-page.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/terminal/ide-terminal-page.c b/src/libide/terminal/ide-terminal-page.c
index 15da88d79..bbb8c8f90 100644
--- a/src/libide/terminal/ide-terminal-page.c
+++ b/src/libide/terminal/ide-terminal-page.c
@@ -111,7 +111,7 @@ ide_terminal_page_spawn_cb (GObject      *object,
     {
       g_autofree gchar *format = NULL;
 
-      format = g_strdup_printf ("%s: %s", _("Subprocess launcher failed"), error->message);
+      format = g_strdup_printf ("%s: %s\n", _("Subprocess launcher failed"), error->message);
       ide_terminal_page_feed (self, format);
     }
 
@@ -133,6 +133,7 @@ ide_terminal_page_spawn_cb (GObject      *object,
   if (ABS (now - self->last_respawn) < FLAPPING_DURATION_USEC)
     {
       ide_terminal_page_feed (self, _("Subprocess launcher failed too quickly, will not respawn."));
+      ide_terminal_page_feed (self, "\n");
       return;
     }
 


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