abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit d23c9982c719001de8219ff0eff56fcfdec33ae8
parent 433de0e9cacaf3b9ce3a49b8a2372718d68f6a64
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Mon,  7 Jul 2014 20:20:46 +0200

Avoid usage of non-ISO-standard escape sequences

Diffstat:
abduco.c | 2+-
client.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/abduco.c b/abduco.c @@ -191,7 +191,7 @@ static bool recv_packet(int socket, Packet *pkt) { static void info(const char *str, ...) { va_list ap; va_start(ap, str); - fprintf(stderr, "\e[999H"); + fprintf(stderr, "\033[999H"); if (str) { fprintf(stderr, "%s: %s: ", server.name, server.session_name); vfprintf(stderr, str, ap); diff --git a/client.c b/client.c @@ -22,7 +22,7 @@ static bool client_recv_packet(Packet *pkt) { } static void client_show_cursor() { - printf("\e[?25h"); + printf("\033[?25h"); fflush(stdout); }