Userspace: init now default logins as user

This commit is contained in:
Bananymous 2023-06-12 00:46:07 +03:00
parent b2de706693
commit eb7ee13f43
1 changed files with 9 additions and 1 deletions

View File

@ -93,6 +93,8 @@ int main()
{
initialize_stdio();
bool first = true;
while (true)
{
auto users = parse_users();
@ -100,7 +102,13 @@ int main()
char name_buffer[128];
BAN::StringView name;
while (true)
if (first)
{
name = "user"sv;
first = false;
}
while (name.empty())
{
printf("username: ");
fflush(stdout);