~ilya-yanok/ubuntu/precise/grub2/fix-for-948716

« back to all changes in this revision

Viewing changes to kern/term.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2009-07-25 19:00:53 UTC
  • mfrom: (1.6.3 upstream)
  • mto: (17.4.13 sid)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20090725190053-uv3lm6ya3zxs77ep
ImportĀ upstreamĀ versionĀ 1.96+20090725

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
static int cursor_state = 1;
33
33
 
34
34
struct grub_handler_class grub_term_input_class =
35
 
  {
 
35
      {
36
36
    .name = "terminal_input"
37
37
  };
38
38
 
39
39
struct grub_handler_class grub_term_output_class =
40
 
  {
 
40
      {
41
41
    .name = "terminal_output"
42
42
  };
43
43
 
140
140
  return (grub_cur_term_input->checkkey) ();
141
141
}
142
142
 
143
 
int
144
 
grub_getkeystatus (void)
145
 
{
146
 
  if (grub_cur_term_input->getkeystatus)
147
 
    return (grub_cur_term_input->getkeystatus) ();
148
 
  else
149
 
    return 0;
150
 
}
151
 
 
152
143
grub_uint16_t
153
144
grub_getxy (void)
154
145
{