Skip to content
Snippets Groups Projects
Commit 1b5edcab authored by Beat Küng's avatar Beat Küng
Browse files

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

parent 5b811fac
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment