Workaround for Terminal.app