mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 14:55:08 +00:00

We now make three VirtualConsoles at boot: tty0, tty1, and tty2. We launch an instance of /bin/sh in each one. You switch between them with Alt+1/2/3 How very very cool :^)
10 lines
187 B
C++
10 lines
187 B
C++
#include "CharacterDevice.h"
|
|
|
|
CharacterDevice::~CharacterDevice()
|
|
{
|
|
}
|
|
|
|
OwnPtr<FileHandle> CharacterDevice::open(int options)
|
|
{
|
|
return VirtualFileSystem::the().open(*this, options);
|
|
}
|