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)
Tue, Sep 16, 2:34 AM
Unknown Object (File)
Aug 29 2025, 7:26 PM
Unknown Object (File)
Aug 15 2025, 12:05 AM
Unknown Object (File)
Aug 2 2025, 2:00 AM
Unknown Object (File)
Jul 1 2025, 6:08 PM
Unknown Object (File)
Jun 23 2025, 1:24 PM
Unknown Object (File)
Jun 21 2025, 4:32 AM
Unknown Object (File)
Jun 19 2025, 11:36 AM
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