diff --git a/watch.c b/watch.c index cf59356..b4f6e84 100644 --- a/watch.c +++ b/watch.c @@ -38,6 +38,7 @@ main(int argc, char *argv[]) } for (;;) { + printf("\e[2J\e[H"); fflush(NULL); system(cmd); sleep(interval);