Added support for Apple's Terminal.app