mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-24 15:21:43 +02:00
Revert "cli_readline: Only insert printable chars"
This reverts commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a. 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:
parent
9c41c06069
commit
60d7820093
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user