diff --git a/ChangeLog b/ChangeLog index 843a24e7f..5119ea379 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-26 Vladimir Serbinenko + + * grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions. + 2012-06-26 Vladimir Serbinenko * grub-core/kern/mips/arc/init.c (grub_machine_init): Set clock diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c index d241c84fb..e35563f06 100644 --- a/grub-core/term/terminfo.c +++ b/grub-core/term/terminfo.c @@ -642,10 +642,12 @@ print_terminfo (void) grub_puts_ (N_("Current terminfo types:")); for (cur = terminfo_outputs; cur; cur = ((struct grub_terminfo_output_state *) cur->data)->next) - grub_printf ("%s: %s\t%s\n", cur->name, + grub_printf ("%s: %s\t%s\t%dx%d\n", cur->name, grub_terminfo_get_current(cur), encoding_names[(cur->flags & GRUB_TERM_CODE_TYPE_MASK) - >> GRUB_TERM_CODE_TYPE_SHIFT]); + >> GRUB_TERM_CODE_TYPE_SHIFT], + ((struct grub_terminfo_output_state *) cur->data)->width, + ((struct grub_terminfo_output_state *) cur->data)->height); return GRUB_ERR_NONE; }