1
0
mirror of https://github.com/whowechina/chu_pico.git synced 2025-03-01 07:20:36 +01:00

Fix getchar return handling

This commit is contained in:
whowechina 2024-12-02 14:51:49 +08:00
parent 2b55c2bb40
commit 39af3431df

View File

@ -179,9 +179,6 @@ void cli_run()
if (c < 0) {
return;
}
if (c == 0) {
return;
}
if (c == '\b' || c == 127) { // both backspace and delete
if (cmd_len > 0) {