make serial use ANSI code recognition in terminfo.mod

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-06 21:32:58 +02:00
parent e903ddec1c
commit 82e32bc310
4 changed files with 30 additions and 121 deletions

View file

@ -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;
}