Changeset 7ce3cb2 in mainline for uspace/srv/console/console.c
- Timestamp:
- 2009-04-02T22:04:29Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b888d5f
- Parents:
- 58d5a7e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
r58d5a7e7 r7ce3cb2 104 104 static char cwrite_buf[CWRITE_BUF_SIZE]; 105 105 106 static void fb_putchar( charc, int row, int col);106 static void fb_putchar(wchar_t c, int row, int col); 107 107 108 108 … … 252 252 253 253 /** Print a character to the active VC with buffering. */ 254 static void fb_putchar( charc, int row, int col)254 static void fb_putchar(wchar_t c, int row, int col) 255 255 { 256 256 async_msg_3(fb_info.phone, FB_PUTCHAR, c, row, col); … … 258 258 259 259 /** Process a character from the client (TTY emulation). */ 260 static void write_char(int console, char key)260 static void write_char(int console, wchar_t ch) 261 261 { 262 262 bool flush_cursor = false; 263 263 screenbuffer_t *scr = &(connections[console].screenbuffer); 264 264 265 switch ( key) {265 switch (ch) { 266 266 case '\n': 267 267 fb_pending_flush(); … … 288 288 cell_mark_changed(scr->position_y, scr->position_x); 289 289 290 screenbuffer_putchar(scr, key);290 screenbuffer_putchar(scr, ch); 291 291 scr->position_x++; 292 292 }
Note:
See TracChangeset
for help on using the changeset viewer.