* grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease

reported width by one to compensate for curesor algorithm problem.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-03 15:21:51 +02:00
parent 91bf46b188
commit db8ff59f61
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-04-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease
reported width by one to compensate for curesor algorithm problem.
2013-04-03 Vladimir Serbinenko <phcoder@gmail.com> 2013-04-03 Vladimir Serbinenko <phcoder@gmail.com>
Fix screen corruption in menu entry editor and simplify the code Fix screen corruption in menu entry editor and simplify the code

View file

@ -255,7 +255,8 @@ grub_console_getkeystatus (struct grub_term_input *term __attribute__ ((unused))
static grub_uint16_t static grub_uint16_t
grub_console_getwh (struct grub_term_output *term __attribute__ ((unused))) grub_console_getwh (struct grub_term_output *term __attribute__ ((unused)))
{ {
return (80 << 8) | 25; /* Due to current cursor moving algorithm we lost the last column. */
return (79 << 8) | 25;
} }
static void static void