summaryrefslogtreecommitdiff
path: root/Userland/tst.cpp
blob: 9659a20aabf043b1c1e2cd1180464d1719680b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <LibC/stdio.h>

int main(int argc, char** argv)
{
    (void) argc;
    (void) argv;
    printf("Counting to 100000: \033[s");
    for (unsigned i = 0; i <= 100000; ++i) {
        printf("\033[u\033[s%u", i);
    }
    printf("\n");
    return 0;
}