mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Only the gfx-enabled boot loader supports unicode. Otherwise, we have to
use the old cons25 / ibmpc upper code page drawing characters. Check to
see if we have the gfx.term_drawbox function. If we do, we support the
unicode drawing characters. If we don't, then we have an older loader
that doesn't support it *OR* we have the reduced function, text-only
boot loader. In either of those cases, we need to use the old graphics
characters. Abstract all those details into core.hasUnicode function.
PR: 282465
MFC After: 2 day
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D47403
(cherry picked from commit c2ba66d4d01f23303352bfe3cbd50ff5d9a05947)
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| cli.lua | ||
| cli.lua.8 | ||
| color.lua | ||
| color.lua.8 | ||
| config.lua | ||
| config.lua.8 | ||
| core.lua | ||
| core.lua.8 | ||
| drawer.lua | ||
| drawer.lua.8 | ||
| gfx-beastie.lua | ||
| gfx-beastiebw.lua | ||
| gfx-fbsdbw.lua | ||
| gfx-orb.lua | ||
| gfx-orbbw.lua | ||
| gfx.lua.8 | ||
| hook.lua | ||
| hook.lua.8 | ||
| loader.conf.lua.5 | ||
| loader.lua | ||
| loader.lua.8 | ||
| Makefile | ||
| Makefile.depend | ||
| menu.lua | ||
| menu.lua.8 | ||
| password.lua | ||
| password.lua.8 | ||
| screen.lua | ||
| screen.lua.8 | ||