Path 1: 1036 calls (1.0)

3 (63) 4 (60) 8 (51) 20 (46) 1 (39) 15 (38) 7 (37) 19 (35) 0 (32) 40 (30)

ConsoleOptions (1036)

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