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
|
#endif
|
||||||
default:
|
default:
|
||||||
if (ichar >= ' ' && ichar <= '~') {
|
cread_add_char(ichar, insert, &num, &eol_num, buf,
|
||||||
cread_add_char(ichar, insert, &num, &eol_num,
|
*len);
|
||||||
buf, *len);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user