summaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorPaul Fox2008-01-11 16:12:57 +0000
committerPaul Fox2008-01-11 16:12:57 +0000
commitee8e3ee9190d3b5da6bc1c7537473b8d0e7e813b (patch)
treeee22ab8e3b8d15876a9c67b30cddf653f9340b7d /libbb/lineedit.c
parentde24bd960f3708e7aad013bd898b725fc13d15b2 (diff)
downloadbusybox-ee8e3ee9190d3b5da6bc1c7537473b8d0e7e813b.zip
busybox-ee8e3ee9190d3b5da6bc1c7537473b8d0e7e813b.tar.gz
allow 8-bit characters
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c3
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;