is_a_tty property assignment fix -> _is_a_tty