mirror of
https://github.com/RROrg/rr.git
synced 2025-09-08 21:07:55 +08:00
调整终端输出设置,确保在加载字体后正确输出到 gfxterm
This commit is contained in:
parent
34fb3e1968
commit
cdd30e0e5e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user