diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 3ccddbc..e31ddad 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -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; |