Page MenuHomeFreeBSD

loader: Move drawer.lua over to gfx table.
ClosedPublic

Authored by imp on Feb 14 2024, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 23, 1:24 PM
Unknown Object (File)
Sat, Jun 21, 4:32 AM
Unknown Object (File)
Thu, Jun 19, 11:36 AM
Unknown Object (File)
Sun, Jun 15, 8:54 AM
Unknown Object (File)
Wed, Jun 11, 10:13 PM
Unknown Object (File)
Tue, Jun 10, 5:25 AM
Unknown Object (File)
May 15 2025, 5:29 PM
Unknown Object (File)
May 4 2025, 4:55 PM
Subscribers

Details

Summary

Drawer.lua is the only bit of lua code in the base that uses any of the
functons moved from the loader table to the gfx table. Move the main
code to using the gfx dispatch. Add compat code for running on old
loaders that creates the newer-style gfx table with the term_* functions
we call in it populated. This will even work on the super old versions
of the loader that don't have them (we'll still skip using them).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable