(self)
| 327 | |
| 328 | @property |
| 329 | def screen_xy(self) -> tuple[int, int]: |
| 330 | info = CONSOLE_SCREEN_BUFFER_INFO() |
| 331 | if not GetConsoleScreenBufferInfo(OutHandle, info): |
| 332 | raise WinError(get_last_error()) |
| 333 | return info.dwCursorPosition.X, info.dwCursorPosition.Y |
| 334 | |
| 335 | def _erase_to_end(self) -> None: |
| 336 | self.__write(ERASE_IN_LINE) |
nothing calls this directly
no test coverage detected