/[grub]/grub/stage2/char_io.c
ViewVC logotype

Diff of /grub/stage2/char_io.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by okuji, Tue Jun 11 16:36:54 2002 UTC revision 1.48 by jthomas, Thu Aug 22 05:59:55 2002 UTC
# Line 41  struct term_entry term_table[] = Line 41  struct term_entry term_table[] =
41        console_getxy,        console_getxy,
42        console_gotoxy,        console_gotoxy,
43        console_cls,        console_cls,
44        console_highlight,        console_setcolorstate,
45        console_setcolor,        console_setcolor,
46        console_nocursor        console_nocursor
47      },      },
# Line 56  struct term_entry term_table[] = Line 56  struct term_entry term_table[] =
56        serial_getxy,        serial_getxy,
57        serial_gotoxy,        serial_gotoxy,
58        serial_cls,        serial_cls,
59        serial_highlight,        serial_setcolorstate,
60        0,        0,
61        0        0
62      },      },
# Line 71  struct term_entry term_table[] = Line 71  struct term_entry term_table[] =
71        hercules_getxy,        hercules_getxy,
72        hercules_gotoxy,        hercules_gotoxy,
73        hercules_cls,        hercules_cls,
74        hercules_highlight,        hercules_setcolorstate,
75        hercules_setcolor,        hercules_setcolor,
76        hercules_nocursor        hercules_nocursor
77      },            },      
# Line 1028  grub_putchar (int c) Line 1028  grub_putchar (int c)
1028                   the following grub_printf call will print newlines.  */                   the following grub_printf call will print newlines.  */
1029                count_lines = -1;                count_lines = -1;
1030    
1031                if (current_term->highlight)                if (current_term->setcolorstate)
1032                  current_term->highlight (1);                  current_term->setcolorstate (COLOR_STATE_HIGHLIGHT);
1033                                
1034                grub_printf ("\n[Hit return to continue]");                grub_printf ("\n[Hit return to continue]");
1035    
1036                if (current_term->highlight)                if (current_term->setcolorstate)
1037                  current_term->highlight (0);                  current_term->setcolorstate (COLOR_STATE_NORMAL);
1038                                
1039                do                do
1040                  {                  {

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26