Changeset ed88c8e in mainline for kernel/generic/src/console/kconsole.c
- Timestamp:
- 2018-05-29T13:25:07Z (6 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/kconsole.c
ra57fa32 red88c8e 160 160 size_t i; 161 161 for (i = 0; i < count; i++) 162 put char(ch);162 putwchar(ch); 163 163 } 164 164 … … 339 339 if (ch == '\n') { 340 340 /* Enter */ 341 put char(ch);341 putwchar(ch); 342 342 break; 343 343 } … … 350 350 if (wstr_remove(current, position - 1)) { 351 351 position--; 352 put char('\b');352 putwchar('\b'); 353 353 printf("%ls ", current + position); 354 354 print_cc('\b', wstr_length(current) - position + 1); … … 363 363 for (; (current[position] != 0) && (!isspace(current[position])); 364 364 position++) 365 put char(current[position]);365 putwchar(current[position]); 366 366 367 367 … … 459 459 /* Left */ 460 460 if (position > 0) { 461 put char('\b');461 putwchar('\b'); 462 462 position--; 463 463 } … … 468 468 /* Right */ 469 469 if (position < wstr_length(current)) { 470 put char(current[position]);470 putwchar(current[position]); 471 471 position++; 472 472 }
Note:
See TracChangeset
for help on using the changeset viewer.