dos33fsprogs/gr-sim/text.c
2017-05-04 14:34:57 -04:00

28 lines
267 B
C

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "gr-sim.h"
int main(int argc, char **argv) {
int x,y,ch;
grsim_init();
home();
while(1) {
grsim_update();
ch=grsim_input();
if (ch=='q') break;
usleep(100000);
}
return 0;
}