Path 1: 5 calls (1.0)

None (5)

None (5)

None (5)

1def __exit__(
2        self,
3        exc_type: Optional[Type[BaseException]],
4        exc_val: Optional[BaseException],
5        exc_tb: Optional[TracebackType],
6    ) -> None:
7        if self._changed:
8            self.console.set_alt_screen(False)
9            if self.hide_cursor:
10                self.console.show_cursor(True)