/[grub]/grub2/util/console.c
ViewVC logotype

Diff of /grub2/util/console.c

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

revision 1.12 by okuji, Fri Aug 12 19:53:33 2005 UTC revision 1.13 by okuji, Sun Aug 21 07:22:51 2005 UTC
# Line 80  grub_ncurses_putchar (grub_uint32_t c) Line 80  grub_ncurses_putchar (grub_uint32_t c)
80        break;        break;
81    
82      default:      default:
83          /* ncurses does not support Unicode.  */
84          if (c > 0x7f)
85            c = '?';
86        break;        break;
87      }      }
88        
89    addch (c | grub_console_attr);    addch (c | grub_console_attr);
90  }  }
91    
92    static grub_ssize_t
93    grub_ncurses_getcharwidth (grub_uint32_t code __attribute__ ((unused)))
94    {
95      return 1;
96    }
97    
98  static void  static void
99  grub_ncurses_setcolorstate (grub_term_color_state state)  grub_ncurses_setcolorstate (grub_term_color_state state)
100  {  {
# Line 283  static struct grub_term grub_ncurses_ter Line 292  static struct grub_term grub_ncurses_ter
292      .init = grub_ncurses_init,      .init = grub_ncurses_init,
293      .fini = grub_ncurses_fini,      .fini = grub_ncurses_fini,
294      .putchar = grub_ncurses_putchar,      .putchar = grub_ncurses_putchar,
295        .getcharwidth = grub_ncurses_getcharwidth,
296      .checkkey = grub_ncurses_checkkey,      .checkkey = grub_ncurses_checkkey,
297      .getkey = grub_ncurses_getkey,      .getkey = grub_ncurses_getkey,
298      .getxy = grub_ncurses_getxy,      .getxy = grub_ncurses_getxy,

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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