Fix for linux console
Merge pull request #27 from jumpwah/master

Fix for linux console