Path 1: 13 calls (1.0)

10 (5) 20 (2) 60 (2) 30 (2) 8 (1) 80 (1)

5 (10) 4 (2) 10 (1)

ConsoleOptions (13)

1def update_dimensions(self, width: int, height: int) -> "ConsoleOptions":
2        """Update the width and height, and return a copy.
3
4        Args:
5            width (int): New width (sets both min_width and max_width).
6            height (int): New height.
7
8        Returns:
9            ~ConsoleOptions: New console options instance.
10        """
11        options = self.copy()
12        options.min_width = options.max_width = max(0, width)
13        options.height = options.max_height = height
14        return options