Added case to prevent title terminfo from display from a tty