ubase/clear.c
Hiltjo Posthuma b0576fc22b clear, watch: use 0x1b instead of non-standard \e
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-02-14 14:10:53 +00:00

11 lines
165 B
C

/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
int
main(void)
{
printf("\x1b[2J\x1b[H");
return EXIT_SUCCESS;
}