Rename ofconsole to console.
* grub-core/commands/terminal.c (handle_command): Handle ofconsole as sysnonym to console. * grub-core/term/ieee1275/ofconsole.c: Renamed to .. * grub-core/term/ieee1275/console.c: ... this. All users updated. Rename grub_ofconsole_ to grub_console_. All users updated (grub_console_term_output): Rename "ofconsole" to "console". * grub-core/term/terminfo.c (grub_cmd_terminfo): Handle "ofconsole" as "console".
This commit is contained in:
parent
64c8b8f64c
commit
ca8c0baf25
5 changed files with 67 additions and 38 deletions
|
@ -673,7 +673,9 @@ grub_cmd_terminfo (grub_extcmd_context_t ctxt, int argc, char **args)
|
|||
|
||||
for (cur = terminfo_outputs; cur;
|
||||
cur = ((struct grub_terminfo_output_state *) cur->data)->next)
|
||||
if (grub_strcmp (args[0], cur->name) == 0)
|
||||
if (grub_strcmp (args[0], cur->name) == 0
|
||||
|| (grub_strcmp (args[0], "ofconsole") == 0
|
||||
&& grub_strcmp ("console", cur->name) == 0))
|
||||
{
|
||||
cur->flags = (cur->flags & ~GRUB_TERM_CODE_TYPE_MASK) | encoding;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue