Re: [PATCH] fix display overlap between remote and local progress
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 <nico@cam.org>
---
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)
{