Eliminate grub_term_register_{input,output}_active. Default terminals are

automatically activated because they're the only terminal that has been loaded.

This solution is temporary.  In the future, all terminals should auto-enable,
but this is non-trivial due to resource conflict, and it shouldn't prevent
merge in trunk.
This commit is contained in:
Robert Millan 2010-01-09 23:42:17 +01:00
parent 75cc5b682e
commit 822873a7da
10 changed files with 33 additions and 62 deletions

View file

@ -373,8 +373,8 @@ static struct grub_term_output grub_ncurses_term_output =
void
grub_console_init (void)
{
grub_term_register_output_active ("console", &grub_ncurses_term_output);
grub_term_register_input_active ("console", &grub_ncurses_term_input);
grub_term_register_output ("console", &grub_ncurses_term_output);
grub_term_register_input ("console", &grub_ncurses_term_input);
}
void