Slightly more portable terminal under Linux.
Merge pull request #1 from t-crest/master

Slightly more portable terminal under Linux.