* grub-core/term/arc/console.c (grub_console_init_output): Add one since

the value returned by firmware is the maximal position, not diumension.
	(grub_terminfo_output_state): Use a more sane fallback.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-26 23:34:32 +02:00
parent 392a603b67
commit 73a68bcb3a
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2012-06-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/arc/console.c (grub_console_init_output): Add one since
the value returned by firmware is the maximal position, not diumension.
(grub_terminfo_output_state): Use a more sane fallback.
2012-06-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions.