diff options
Diffstat (limited to 'mbbsd/visio.c')
-rw-r--r-- | mbbsd/visio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/visio.c b/mbbsd/visio.c index 641406a2..03e835af 100644 --- a/mbbsd/visio.c +++ b/mbbsd/visio.c @@ -1052,8 +1052,7 @@ vgetstring(char *_buf, int len, int flags, const char *defstr, const VGET_CALLBA } c = tolower(c); } - // XXX for NOECHO, allow only isprint() characters? - if (flags & VGET_NOECHO) + if (flags & VGET_ASCII_ONLY) { if (!isprint(c)) { |