Path 1: 5 calls (1.0)

ScreenContext (5)

1def __enter__(self) -> "ScreenContext":
2        self._changed = self.console.set_alt_screen(True)
3        if self._changed and self.hide_cursor:
4            self.console.show_cursor(False)
5        return self