Get default console options.
(self)
| 989 | |
| 990 | @property |
| 991 | def options(self) -> ConsoleOptions: |
| 992 | """Get default console options.""" |
| 993 | size = self.size |
| 994 | return ConsoleOptions( |
| 995 | max_height=size.height, |
| 996 | size=size, |
| 997 | legacy_windows=self.legacy_windows, |
| 998 | min_width=1, |
| 999 | max_width=size.width, |
| 1000 | encoding=self.encoding, |
| 1001 | is_terminal=self.is_terminal, |
| 1002 | ) |
| 1003 | |
| 1004 | @property |
| 1005 | def size(self) -> ConsoleDimensions: |
nothing calls this directly
no test coverage detected