2020-01-18 08:38:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
2021-04-22 08:24:48 +00:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 08:38:21 +00:00
|
|
|
*/
|
|
|
|
|
2021-11-27 19:42:37 +00:00
|
|
|
#include <LibCore/System.h>
|
|
|
|
#include <LibMain/Main.h>
|
2018-11-09 23:56:10 +00:00
|
|
|
#include <stdio.h>
|
2018-10-27 15:39:08 +00:00
|
|
|
|
2021-11-27 19:42:37 +00:00
|
|
|
ErrorOr<int> serenity_main(Main::Arguments)
|
2018-10-27 15:39:08 +00:00
|
|
|
{
|
2022-04-03 23:16:06 +00:00
|
|
|
TRY(Core::System::pledge("stdio"));
|
2018-10-27 15:39:08 +00:00
|
|
|
printf("\033[3J\033[H\033[2J");
|
2018-11-09 23:56:10 +00:00
|
|
|
fflush(stdout);
|
2018-10-27 15:39:08 +00:00
|
|
|
return 0;
|
|
|
|
}
|