* grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions.
This commit is contained in:
parent
42d0867ff7
commit
392a603b67
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-06-26 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/term/terminfo.c (print_terminfo): Print terminal dimensions.
|
||||||
|
|
||||||
2012-06-26 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-06-26 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/mips/arc/init.c (grub_machine_init): Set clock
|
* grub-core/kern/mips/arc/init.c (grub_machine_init): Set clock
|
||||||
|
|
|
@ -642,10 +642,12 @@ print_terminfo (void)
|
||||||
grub_puts_ (N_("Current terminfo types:"));
|
grub_puts_ (N_("Current terminfo types:"));
|
||||||
for (cur = terminfo_outputs; cur;
|
for (cur = terminfo_outputs; cur;
|
||||||
cur = ((struct grub_terminfo_output_state *) cur->data)->next)
|
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),
|
grub_terminfo_get_current(cur),
|
||||||
encoding_names[(cur->flags & GRUB_TERM_CODE_TYPE_MASK)
|
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;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue