~hamo/ubuntu/precise/grub2/grub2.hi_res

« back to all changes in this revision

Viewing changes to term/i386/pc/console.c

Tags: upstream-1.98+20100705
ImportĀ upstreamĀ versionĀ 1.98+20100705

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#define KEYBOARD_ALT            (1 << 3)
31
31
 
32
32
static int
33
 
grub_console_getkeystatus (void)
 
33
grub_console_getkeystatus (struct grub_term_input *term __attribute__ ((unused)))
34
34
{
35
35
  grub_uint8_t status = bios_data_area->keyboard_flag_lower;
36
36
  int mods = 0;
57
57
  {
58
58
    .name = "console",
59
59
    .putchar = grub_console_putchar,
60
 
    .getcharwidth = grub_console_getcharwidth,
61
60
    .getwh = grub_console_getwh,
62
61
    .getxy = grub_console_getxy,
63
62
    .gotoxy = grub_console_gotoxy,
64
63
    .cls = grub_console_cls,
65
64
    .setcolorstate = grub_console_setcolorstate,
66
 
    .setcolor = grub_console_setcolor,
67
 
    .getcolor = grub_console_getcolor,
68
 
    .setcursor = grub_console_setcursor
 
65
    .setcursor = grub_console_setcursor,
 
66
    .flags = GRUB_TERM_CODE_TYPE_CP437,
 
67
    .normal_color = GRUB_TERM_DEFAULT_NORMAL_COLOR,
 
68
    .highlight_color = GRUB_TERM_DEFAULT_HIGHLIGHT_COLOR,
69
69
  };
70
70
 
71
71
void