Add support for Mac Os terminal