(self)
| 365 | ) |
| 366 | |
| 367 | def _getscrollbacksize(self) -> int: |
| 368 | info = CONSOLE_SCREEN_BUFFER_INFO() |
| 369 | if not GetConsoleScreenBufferInfo(OutHandle, info): |
| 370 | raise WinError(GetLastError()) |
| 371 | |
| 372 | return info.srWindow.Bottom # type: ignore[no-any-return] |
| 373 | |
| 374 | def _read_input(self, block: bool = True) -> INPUT_RECORD | None: |
| 375 | if not block: |
no test coverage detected