index
:
tools.git
some tools
log msg
author
committer
range
master
about
summary
refs
log
tree
commit
diff
path:
root
/
dummyshell.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'dummyshell.c')
-rw-r--r--
dummyshell.c
3
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);