Userspace: Start work on a terminal emulator

Terminal is still missing some ANSI codes, cursor and pseudo terminal
support.

Shell's builtin start-gui now launches a Terminal instead of test
windows.
This commit is contained in:
2024-06-03 18:04:33 +03:00
parent 234051d6bc
commit 843a6851c4
7 changed files with 471 additions and 4 deletions

View File

@@ -337,9 +337,7 @@ BAN::Optional<int> execute_builtin(BAN::Vector<BAN::String>& args, int fd_in, in
if (pid == 0)
execl("/bin/WindowServer", "WindowServer", NULL);
if (fork() == 0)
execl("/bin/test-window", "test-window", NULL);
if (fork() == 0)
execl("/bin/test-window", "test-window", NULL);
execl("/bin/Terminal", "Terminal", NULL);
waitpid(pid, nullptr, 0);
}
else if (args.front() == "page-fault-test"sv)