Prevents ugliness when using the Linux console. (thx @rbanffy)