Changeset 56fa418 in mainline for uspace/lib/libc/generic/console.c


Ignore:
Timestamp:
2009-04-05T15:50:53Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0175246
Parents:
726ef849
Message:

Make Czech layout work partially in bdsh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/console.c

    r726ef849 r56fa418  
    5858
    5959static ssize_t cons_write(const char *buf, size_t nbyte);
    60 static void cons_putchar(int c);
     60static void cons_putchar(wchar_t c);
    6161
    6262static void cbuffer_flush(void);
     
    120120}
    121121
    122 void console_putchar(int c)
    123 {
    124         cbuffer_putc(c);
     122void console_putchar(wchar_t c)
     123{
     124//      cbuffer_putc(c);
     125        cbuffer_flush();
     126        cons_putchar(c);
    125127}
    126128
     
    163165
    164166/** Write one character to the console via IPC. */
    165 static void cons_putchar(int c)
     167static void cons_putchar(wchar_t c)
    166168{
    167169        int cons_phone = console_phone_get(true);
Note: See TracChangeset for help on using the changeset viewer.