Userspace: init now default logins as user

This commit is contained in:
Bananymous 2023-06-12 00:46:07 +03:00
parent e9cb844c28
commit 25f8343269
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);