fix ANSI code in update_current() - thanks mwmsl! - gramscii - A simple editor … | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 2e329d4d55fa9a296a5c27fa3d306840167d25c5 | |
parent 82a7c12e8338288ccb40d213fcc9e15d102aa968 | |
Author: KatolaZ <[email protected]> | |
Date: Fri, 2 Aug 2019 05:08:57 +0100 | |
fix ANSI code in update_current() - thanks mwmsl! | |
Diffstat: | |
M screen.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git 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); | |
} |