From: Vladimir 'phcoder' Serbinenko Date: Wed, 3 Apr 2013 13:21:51 +0000 (+0200) Subject: * grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease X-Git-Tag: grub-2.02-beta1~1215 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db8ff59f61d794a8df55ef7188f2539cda437af9;p=thirdparty%2Fgrub.git * grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease reported width by one to compensate for curesor algorithm problem. --- diff --git a/ChangeLog b/ChangeLog index 0592caced..b0c57bb11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-04-03 Vladimir Serbinenko + + * 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 Fix screen corruption in menu entry editor and simplify the code diff --git a/grub-core/term/i386/pc/console.c b/grub-core/term/i386/pc/console.c index 2aa1943a5..ee6650bf9 100644 --- a/grub-core/term/i386/pc/console.c +++ b/grub-core/term/i386/pc/console.c @@ -255,7 +255,8 @@ grub_console_getkeystatus (struct grub_term_input *term __attribute__ ((unused)) static grub_uint16_t 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