Closed sTeeLM closed 4 years ago
Remove HELP: ?? so will work for all languages? User can easily add 'HELP:' to each menuentry if they want it to display 'HELP:'. If use for grubfm slack theme
Can we have more than one line of help text?
Remove HELP: ?? so will work for all languages? User can easily add 'HELP:' to each menuentry if they want it to display 'HELP:'. If use for grubfm slack theme
I'm talking about bugs: --help-msg="qwertyasdfghjkl"
it shows qwertyasdfg
Could this be a typo? grub-core/commands/menuentry.c
I tried different test cases for .cfg file. The results are very unpredictable! it depends on contents/size of the .cfg file which contains the menuentry commands!
# FIRST MENU ENTRY HERE - this must always be the default menu entry (always use 'set default=0')
#a1ive grub file manager must be first menu entry (either keep as entry 0 or remove this entry)
if [ -d "(${bootdev},msdos1)/_ISO/MAINMENU" ] ; then
menuentry "a1ive grub2 File Manager (/_ISO/MAINMENUX)" --help-msg="qwertyasdfghjkl" --class=dir {
delvars
grubfm "(${bootdev},msdos1)/_ISO/MAINMENU/"
}
else
menuentry "a1ive grub2 File Manager" --class=dir {
delvars
grubfm
}
fi
if [ -f "${grubfm0}" ] ; then
menuentry "${grubfm0_title}" --class=exe --help-msg="qwertyasdfghjkl" {
set grubfm_file="${grubfm0}"
if [ "${grubfm0_type}" = "wininst" ] ; then delvars; configfile (${user})/boot/grubfm/rules/iso/win.sh ; fi
if [ "${grubfm0_type}" = "e2biso" ] ; then delvars; configfile (${user})/boot/grubfm/rules/iso/e2b.sh ; fi
delvars; grubfm_open "${grubfm_file}"
}
fi
if [ -f "${grubfm1}" ] ; then
menuentry "${grubfm1_title}" --help-msg="qwertyasdfghjkl" --class=exe {
set grubfm_file="${grubfm1}"
if [ "${grubfm1_type}" = "wininst" ] ; then delvars; configfile (${user})/boot/grubfm/rules/iso/win.sh ; fi
if [ "${grubfm1_type}" = "e2biso" ] ; then delvars; configfile (${user})/boot/grubfm/rules/iso/e2b.sh ; fi
delvars; grubfm_open "${grubfm_file}"
}
fi
Seems to be similar to the theme bug we have found before???
Using up-down keys - sometimes help message is not updated or is blank!
感觉还是有点bug啊。
theme.txt