posix shell: avoid printing non-printable characters (like Ctrl-C)

This commit is contained in:
Beat Küng
2016-06-09 11:08:04 +02:00
parent 5b811facab
commit 1b5edcabec
+4 -2
View File
@@ -373,8 +373,10 @@ int main(int argc, char **argv)
}
default: // any other input
cout << c;
mystr += c;
if (c > 3) {
cout << c;
mystr += c;
}
break;
}
}