mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 22:56:49 +08:00
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:
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…
Reference in New Issue
Block a user