]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 3 Apr 2013 13:21:51 +0000 (15:21 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 3 Apr 2013 13:21:51 +0000 (15:21 +0200)
reported width by one to compensate for curesor algorithm problem.

ChangeLog
grub-core/term/i386/pc/console.c

index 0592caced2eb36a7c2787329d2fa9d1cce08e84c..b0c57bb11249e01f0bc08480c487fc3a0d9735a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        Fix screen corruption in menu entry editor and simplify the code
index 2aa1943a583b38c51070ec7230d3e2bfe1442725..ee6650bf939c903737c0c0b805ab57d41e6ce651 100644 (file)
@@ -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