mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 08:51:01 +00:00
The maximum number of virtual consoles is determined at compile time, so we can pre-allocate that many slots, dodging some heap allocations. Furthermore, virtual consoles are never destroyed, so it's fine to simply store a raw pointer to the currently active one. |
||
|---|---|---|
| .. | ||
| ConsoleManagement.cpp | ||
| ConsoleManagement.h | ||
| MasterPTY.cpp | ||
| MasterPTY.h | ||
| PTYMultiplexer.cpp | ||
| PTYMultiplexer.h | ||
| SlavePTY.cpp | ||
| SlavePTY.h | ||
| TTY.cpp | ||
| TTY.h | ||
| VirtualConsole.cpp | ||
| VirtualConsole.h | ||