Added Makefile and .gitignore. Erases line on update.

Signed-off-by: 0xf8 <0xf8.dev@proton.me>
This commit is contained in:
0xf8 2023-02-25 12:27:55 -05:00
parent 73fd2724d6
commit 7be55463d9
Signed by: 0xf8
GPG Key ID: 446580D758689584
2 changed files with 3 additions and 1 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
rbtext: rbtext.c
$(CC) -o $@ $<

View File

@ -87,7 +87,7 @@ int main(int carg, char **varg) {
}
while (1) {
printf("\r");
printf("\r\e[2K");
genColors(text);
printf("\e[0m");
fflush(stdout);