Author: tsoome
Date: Sun Sep 22 16:10:25 2019
New Revision: 352599
URL: https://svnweb.freebsd.org/changeset/base/352599

Log:
  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.

Modified:
  head/stand/forth/menu.4th
  head/stand/forth/menu.rc

Modified: head/stand/forth/menu.4th
==============================================================================
--- head/stand/forth/menu.4th   Sun Sep 22 15:00:19 2019        (r352598)
+++ head/stand/forth/menu.4th   Sun Sep 22 16:10:25 2019        (r352599)
@@ -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
 

Modified: head/stand/forth/menu.rc
==============================================================================
--- head/stand/forth/menu.rc    Sun Sep 22 15:00:19 2019        (r352598)
+++ head/stand/forth/menu.rc    Sun Sep 22 16:10:25 2019        (r352599)
@@ -72,7 +72,7 @@ s" currdev" getenv dup 0> [if] drop 4 s" zfs:" compare
     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}"
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to