diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-08-02 05:08:57 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-08-02 05:10:08 +0100 |
commit | 2e329d4d55fa9a296a5c27fa3d306840167d25c5 (patch) | |
tree | d2b5a1b4e6221b439952f65c36d84654c1025dbb | |
parent | 82a7c12e8338288ccb40d213fcc9e15d102aa968 (diff) |
fix ANSI code in update_current() - thanks mwmsl!
-rw-r--r-- | screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |