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)
Fri, Sep 18, 8:40 AM
Unknown Object (File)
Thu, Sep 17, 5:51 PM
Unknown Object (File)
Sun, Sep 13, 6:57 AM
Unknown Object (File)
Sun, Aug 30, 7:19 AM
Unknown Object (File)
Aug 28 2026, 1:39 PM
Unknown Object (File)
Aug 26 2026, 8:39 PM
Unknown Object (File)
Aug 22 2026, 4:27 AM
Unknown Object (File)
Aug 15 2026, 4:44 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