Protect Core Shell against unusual terminal output

Core Shell should be able to handle any terminal output without crashing the application. For example, a simple

cat /dev/urandom

in a local shell will kill Core Shell almost immediately. Something like this is actually not exclusive to Core Shell, but it's a good test of how well terminal applications handle exceptions caused by random escape codes and arbitrary control sequences from terminal output.

Thank you so much for reporting.

I can reproduce this issue, and will add cat /dev/urandom command to Core Shell's regression testing suite after it get fixed.

Thank you again for your advice,

Yang

1 Like