seems to work now. A lot is still missing though

This commit is contained in:
phcoder 2009-10-11 14:18:58 +02:00
parent ffa9860a86
commit 50739170db
6 changed files with 15 additions and 17 deletions

View file

@ -29,7 +29,7 @@
#include <grub/extcmd.h>
#define TEXT_WIDTH 80
#define TEXT_HEIGHT 25
#define TEXT_HEIGHT 24
static unsigned int xpos, ypos;
static unsigned int keep_track = 1;
@ -370,7 +370,7 @@ grub_serial_putchar (grub_uint32_t c)
break;
case '\n':
if (ypos < TEXT_HEIGHT)
if (ypos < TEXT_HEIGHT - 1)
ypos++;
break;