[mac-terminal] fix example