]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* normal/menu_text.c (print_message): Clean up the message and show
authorEFI Coder <eficoder@hotmail.com>
Fri, 9 Apr 2010 19:16:17 +0000 (21:16 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 9 Apr 2010 19:16:17 +0000 (21:16 +0200)
the Fn information when on EFI
* term/efi/console.c (grub_console_checkkey): Add F4 support.

ChangeLog
normal/menu_text.c
term/efi/console.c

index 5f3251fcb8b26ac7f326508b817dda320cced4bc..e25639a4242bcc5ff19e24fcb177ce1d59a1fa40 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-09  EFI Coder <eficoder@hotmail.com>
+
+       * normal/menu_text.c (print_message): Clean up the message and show
+       the Fn information when on EFI
+       * term/efi/console.c (grub_console_checkkey): Add F4 support.
+
 2010-04-09  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * normal/autofs.c (read_fs_list): New parameter 'prefix'.
index b39f5751223a12175f54e6fe0ec2c7d4ce604333..bb0587502a64b9c53e3acab7c2d225404a880854 100644 (file)
@@ -176,10 +176,17 @@ print_message (int nested, int edit, struct grub_term_output *term)
   if (edit)
     {
       grub_putcode ('\n', term);
+#ifdef GRUB_MACHINE_EFI
+      grub_print_message_indented (_("Minimum Emacs-like screen editing is \
+supported. TAB lists completions. Press F1 to boot, F2=Ctrl-a, F3=Ctrl-e, \
+F4 for a command-line or ESC to discard edits and return to the GRUB menu."),
+                                   STANDARD_MARGIN, STANDARD_MARGIN, term);
+#else
       grub_print_message_indented (_("Minimum Emacs-like screen editing is \
 supported. TAB lists completions. Press Ctrl-x to boot, Ctrl-c for a \
-command-line or ESC to return menu."), STANDARD_MARGIN, STANDARD_MARGIN,
-                                  term);
+command-line or ESC to discard edits and return to the GRUB menu."),
+                                   STANDARD_MARGIN, STANDARD_MARGIN, term);
+#endif
     }
   else
     {
index 264770cae41d52852e9a4e7bef0832bc0c331853..c33cffdfeede5a9ca26ecd038c40135983946e23 100644 (file)
@@ -194,6 +194,9 @@ grub_console_checkkey (void)
        case 0x0d:
          read_key = 5;
          break;
+       case 0x0e:
+         read_key = 3;
+         break;
        case 0x17:
          read_key = '\e';
          break;