Changeset ed88c8e in mainline for kernel/generic/src/console/console.c
- Timestamp:
- 2018-05-29T13:25:07Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc0b2a8
- Parents:
- a57fa32
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-28 17:24:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-29 13:25:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
ra57fa32 red88c8e 262 262 if (count > 0) { 263 263 /* Space, backspace, space */ 264 put char('\b');265 put char(' ');266 put char('\b');264 putwchar('\b'); 265 putwchar(' '); 266 putwchar('\b'); 267 267 268 268 count--; … … 273 273 274 274 if (chr_encode(ch, buf, &offset, buflen - 1) == EOK) { 275 put char(ch);275 putwchar(ch); 276 276 count++; 277 277 buf[offset] = 0; … … 286 286 { 287 287 wchar_t ch = indev_pop_character(indev); 288 put char(ch);288 putwchar(ch); 289 289 return ch; 290 290 } … … 356 356 } 357 357 358 void put char(const wchar_t ch)358 void putwchar(const wchar_t ch) 359 359 { 360 360 bool ordy = ((stdout) && (stdout->op->write)); … … 373 373 * for possible future output. 374 374 * 375 * The early_put char() function is used to output375 * The early_putwchar() function is used to output 376 376 * the character for low-level debugging purposes. 377 377 * Note that the early_putc() function might be 378 378 * a no-op on certain hardware configurations. 379 379 */ 380 early_put char(ch);380 early_putwchar(ch); 381 381 } 382 382
Note:
See TracChangeset
for help on using the changeset viewer.