1
0
vt100-games/RobotChase/ansi.c

14 lines
185 B
C
Raw Normal View History

2020-06-25 14:41:27 +02:00
#include <stdio.h>
#include "ansi.h"
void clrscr() {
printf("\033[2J\033[1;1H");
}
void clrline() {
printf("\033[1K");
}
void gotoxy(int x, int y) {
printf("\033[%d;%dH", y, x);
}