make serial use ANSI code recognition in terminfo.mod
This commit is contained in:
parent
e903ddec1c
commit
82e32bc310
4 changed files with 30 additions and 121 deletions
|
@ -166,12 +166,12 @@ static int
|
|||
grub_ofconsole_checkkey (void)
|
||||
{
|
||||
if (grub_buflen)
|
||||
return 1;
|
||||
return grub_keybuf[0];
|
||||
|
||||
grub_terminfo_readkey (grub_keybuf, &grub_buflen, readkey);
|
||||
|
||||
if (grub_buflen)
|
||||
return 1;
|
||||
return grub_keybuf[0];
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue