mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
allow 8-bit characters
This commit is contained in:
parent
de24bd960f
commit
ee8e3ee919
@ -1768,9 +1768,6 @@ int read_line_input(const char *prompt, char *command, int maxsize, line_input_t
|
||||
if (vi_cmdmode) /* Don't self-insert */
|
||||
break;
|
||||
#endif
|
||||
if (!Isprint(c)) /* Skip non-printable characters */
|
||||
break;
|
||||
|
||||
if (command_len >= (maxsize - 2)) /* Need to leave space for enter */
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user