summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index a7aad6bc..ef5d76da 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -317,6 +317,10 @@ igetch()
}
}
return ch;
+ case IAC:
+ // disallow user input telnet protocol leading char IAC chr(255)
+ // TODO parse telnet protocol
+ continue;
default:
return ch;