diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..17cb4f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +rbtext: rbtext.c + $(CC) -o $@ $< diff --git a/rbtext.c b/rbtext.c index 5026b74..edbe0fc 100644 --- a/rbtext.c +++ b/rbtext.c @@ -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);