Optimize bootmsg to use fg/bg/me from screen.4th
NB: screen.4th is included by way of check-password.4th MFC after: 3 days X-MFC-to: stable/10
This commit is contained in:
parent
7453b9b598
commit
4cfd485553
@ -43,15 +43,16 @@ s" arch-i386" environment? [if] [if]
|
||||
include /boot/support.4th
|
||||
include /boot/color.4th
|
||||
include /boot/delay.4th
|
||||
include /boot/check-password.4th
|
||||
|
||||
only forth also support-functions also builtins definitions
|
||||
|
||||
: bootmsg ( -- )
|
||||
loader_color? if
|
||||
." [37;44mBooting...[0m" cr
|
||||
else
|
||||
." Booting..." cr
|
||||
then
|
||||
loader_color? dup ( -- bool bool )
|
||||
if 7 fg 4 bg then
|
||||
." Booting..."
|
||||
if me then
|
||||
cr
|
||||
;
|
||||
|
||||
: try-menu-unset
|
||||
@ -128,8 +129,6 @@ builtin: boot-conf
|
||||
|
||||
only forth definitions also support-functions
|
||||
|
||||
include /boot/check-password.4th
|
||||
|
||||
\ ***** start
|
||||
\
|
||||
\ Initializes support.4th global variables, sets loader_conf_files,
|
||||
|
Loading…
Reference in New Issue
Block a user