aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dummyshell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dummyshell.c b/dummyshell.c
index aa0d307..28db234 100644
--- a/dummyshell.c
+++ b/dummyshell.c
@@ -608,6 +608,9 @@ int main(int argc, char** argv)
case MS_COMMAND:
case MS_MESSAGE:
switch (readInput(&inputbuf[0], &inputsiz, absiz, key, 0)) {
+ case 127:
+ if (strnlen(inputbuf, inputsiz) > 0)
+ break;
case 27:
state = MS_DEFAULT;
readInput(&inputbuf[0], &inputsiz, absiz, 0, I_CLEARBUF);