Color search result only when tty