From 2e329d4d55fa9a296a5c27fa3d306840167d25c5 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Fri, 2 Aug 2019 05:08:57 +0100 Subject: fix ANSI code in update_current() - thanks mwmsl! --- screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen.c b/screen.c index 8e1b8bc..e81f037 100644 --- a/screen.c +++ b/screen.c @@ -146,7 +146,7 @@ void draw_xy(int x, int y, char c){ void update_current(){ if (silent) return; - printf("\033[%d'%df",y+1,x+1); + printf("\033[%d;%df",y+1,x+1); putchar(screen.l[y].s[x]); fflush(stdout); } -- cgit v1.2.3