1
0
vt100-games/Pac/ansi.c

15 lines
185 B
C
Raw Normal View History

2020-07-01 10:16:26 +02:00
#include <stdio.h>
#include "ansi.h"
void clr_scr() {
printf("\033[2J\033[H");
}
void clrline() {
printf("\033[1K");
}
void goto_xy(int x, int y) {
printf("\033[%d;%dH", y, x);
}