mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-10 17:55:52 +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.