Skip to content

Commit

Permalink
sideband.c: ESC is spelled '\033' not '\e' for portability.
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nicolas Pitre authored and Junio C Hamano committed Nov 5, 2007
1 parent ebe8fa7 commit 0d8aafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sideband.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0d8aafd

Please sign in to comment.