Preliminary support for UTF-8 console
This commit is contained in:
parent
9a3355cfde
commit
f10331edf2
3 changed files with 69 additions and 39 deletions
|
@ -343,6 +343,8 @@ grub_serial_putchar (const struct grub_unicode_glyph *c)
|
|||
break;
|
||||
|
||||
default:
|
||||
if ((c->base & 0xC0) == 0xC0)
|
||||
break;
|
||||
if (xpos >= TEXT_WIDTH)
|
||||
{
|
||||
xpos = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue