There is no need to subtract self.legacy_windows from self._width in the size getter (link) because the self._width field already contains a value that takes legacy_windows into account (link).
For example, you can't directly get the size value from one console and assign it to another. The width of the second console will be 1 character smaller.
Describe the bug
There is no need to subtract self.legacy_windows from self._width in the size getter (link) because the self._width field already contains a value that takes legacy_windows into account (link).
For example, you can't directly get the size value from one console and assign it to another. The width of the second console will be 1 character smaller.
Output:
Platform
Click to expand
OS: Windows 10 22H2 Terminal: ConEmu ``` $ python -m rich.diagnose ┌─────────────────────────