git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Nicolas Pitre <nico@cam.org>
Date
Nov 5, 2007, 01:07 UTC
Message-ID
<alpine.LFD.0.9999.0711041955400.21255@xanadu.home>
In-Reply-To
<7v4pg1sj1r.fsf@gitster.siamese.dyndns.org>
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)
 {
Previous: Junio C HamanoNext: Marcin Cieslak
Message 5 of 6 in “fix display overlap between remote and local progress”
  1. fix display overlap between remote and local progressNicolas Pitre, Nov 4, 2007
  2. Johannes SchindelinNov 4, 2007
  3. Nicolas PitreNov 4, 2007
  4. Junio C HamanoNov 4, 2007
  5. Nicolas PitreNov 5, 2007
  6. Marcin CieslakMar 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.