调整终端输出设置,确保在加载字体后正确输出到 gfxterm

This commit is contained in:
Ing 2025-09-07 11:01:26 +08:00
parent 34fb3e1968
commit cdd30e0e5e

View File

@ -49,8 +49,6 @@ else
font=${prefix}/fonts/unicode.pf2
fi
terminal_output console
if loadfont ${font}; then
set gfxmode=auto
load_video
@ -58,9 +56,10 @@ if loadfont ${font}; then
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
terminal_output --append gfxterm
fi
terminal_output gfxterm
if serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1; then
terminal_input --append serial
terminal_output --append serial