aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 3ccddbcbf..e31ddad5d 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;