/kernel/trunk/generic/src/console/kconsole.c |
---|
358,8 → 358,10 |
position++; |
rdln_print_c('\b',curlen-position); |
} |
histposition++; |
histposition = histposition % KCONSOLE_HISTORY; |
if (curlen) { |
histposition++; |
histposition = histposition % KCONSOLE_HISTORY; |
} |
current[curlen] = '\0'; |
return current; |
} |