Revert "cli_readline: Only insert printable chars"

This reverts commit d2e64d29c4.

This commit broke support for pound sign (£) and euro sign (€) keys on
Nokia N900 keypad.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Pali Rohár 2022-11-02 00:40:46 +01:00 committed by Tom Rini
parent 9c41c06069
commit 60d7820093

View File

@ -517,10 +517,8 @@ static int cread_line(const char *const prompt, char *buf, unsigned int *len,
}
#endif
default:
if (ichar >= ' ' && ichar <= '~') {
cread_add_char(ichar, insert, &num, &eol_num,
buf, *len);
}
cread_add_char(ichar, insert, &num, &eol_num, buf,
*len);
break;
}
}