The second call to cli_ch_process() is in the wrong place, meaning that the one of the characters of an invalid escape sequence is swallowed instead of being returned. Fix the bug and add a test to cover this. This behaviour matches that of the code before cli_getch() was introduced. This was verified on the commit before |
||
|---|---|---|
| .. | ||
| Makefile | ||
| cmd_ut_common.c | ||
| cread.c | ||
| cyclic.c | ||
| event.c | ||
| test_autoboot.c | ||