mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
e904f193c1
With a bunch of LibC work to support the feature. LibC now initializes AK::StringImpl by default. It's now fine to use AK in LibC/Userland! :^)
11 lines
223 B
C++
11 lines
223 B
C++
#include <LibC/stdio.h>
|
|
|
|
int main(int argc, char** 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;
|
|
}
|