[gnome-builder] terminal: use \r\n for line feed
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] terminal: use \r\n for line feed
- Date: Tue, 6 Aug 2019 19:14:05 +0000 (UTC)
commit 90ef0d514790f70d50c2ef67da5389e6a186bc41
Author: Christian Hergert <chergert redhat com>
Date: Tue Aug 6 12:12:19 2019 -0700
terminal: use \r\n for line feed
src/libide/terminal/ide-terminal-page.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/terminal/ide-terminal-page.c b/src/libide/terminal/ide-terminal-page.c
index bbb8c8f90..607029e8d 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\n", _("Subprocess launcher failed"), error->message);
+ format = g_strdup_printf ("%s: %s\r\n", _("Subprocess launcher failed"), error->message);
ide_terminal_page_feed (self, format);
}
@@ -133,7 +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");
+ ide_terminal_page_feed (self, "\r\n");
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]