Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] fix display overlap between remote and local progress

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:47
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

On Sun, 4 Nov 2007, Junio C Hamano wrote:
The compiler at k.org complains of "\e" being non ISO-C, though.
Bummer.

...

Signed-off-by: Nicolas Pitre <redacted>
---
diff --git a/sideband.c b/sideband.c
index 58edea6..756bbc2 100644
--- a/sideband.c
+++ b/sideband.c
@@ -13,7 +13,7 @@
  */
 
 #define PREFIX "remote:"
-#define SUFFIX "\e[K"  /* change to "        " if ANSI sequences don't work */
+#define SUFFIX "\033[K"  /* change to "        " if ANSI sequences don't work */
 
 int recv_sideband(const char *me, int in_stream, int out, int err)
 {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help