loader_4th: menu items need to reset color attribute, not switch to white
Forth menu kernel and BE entries, instead of resetting the color attribute, are switching to white color.
This commit is contained in:
@@ -397,7 +397,7 @@ also menu-infrastructure definitions
|
||||
setenv
|
||||
|
||||
\ Assign third to ansi_caption[x][y]
|
||||
kerncapbuf 0 s" @[1mK@[37mernel: " [char] @ escc! strcat
|
||||
kerncapbuf 0 s" @[1mK@[mernel: " [char] @ escc! strcat
|
||||
kernmenuidx @ [char] 0 = if
|
||||
s" default/@[32m"
|
||||
else
|
||||
@@ -405,7 +405,7 @@ also menu-infrastructure definitions
|
||||
then
|
||||
[char] @ escc! strcat
|
||||
2over strcat
|
||||
s" @[37m" [char] @ escc! strcat
|
||||
s" @[m" [char] @ escc! strcat
|
||||
kernidx @ kernmenuidx @ ansi_caption[x][y]
|
||||
setenv
|
||||
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ s" currdev" getenv dup 0> [if] drop 4 s" zfs:" compare 0= [if]
|
||||
set mainmenu_caption[7]="Select Boot [E]nvironment..."
|
||||
set mainmenu_command[7]="3 goto_menu"
|
||||
set mainmenu_keycode[7]=101
|
||||
set mainansi_caption[7]="Select Boot ^[1mE^[37mnvironment..."
|
||||
set mainansi_caption[7]="Select Boot ^[1mE^[mnvironment..."
|
||||
|
||||
s" chain_disk" getenv? [if]
|
||||
set mainmenu_caption[8]="Chain[L]oad ${chain_disk}"
|
||||
|
||||
Reference in New Issue
Block a user