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

@@ -271,7 +271,7 @@ void WindowServer::invalidate(Rectangle area)
area = fb_overlap.release_value();
for (int32_t y = area.y; y < area.y + area.height; y++)
memset(&m_framebuffer.mmap[y * m_framebuffer.width + area.x], 0, area.width * 4);
memset(&m_framebuffer.mmap[y * m_framebuffer.width + area.x], 0x10, area.width * 4);
for (auto& pwindow : m_client_windows)
{