control-sequence-introducer/control-sequence-introducer.c

11 lines
181 B
C

#include<stdio.h>
#include<unistd.h>
int main(int argc, char** argv) {
printf("Hello world");
fflush(stdout);
sleep(2);
printf("\33[2K\rHello world everybody");
}