MCPcopy Create free account
hub / github.com/pyinvoke/invoke / CONSOLE_SCREEN_BUFFER_INFO

Class CONSOLE_SCREEN_BUFFER_INFO

invoke/terminals.py:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50 def _pty_size() -> Tuple[Optional[int], Optional[int]]:
51 class CONSOLE_SCREEN_BUFFER_INFO(Structure):
52 _fields_ = [
53 ("dwSize", _COORD),
54 ("dwCursorPosition", _COORD),
55 ("wAttributes", c_ushort),
56 ("srWindow", _SMALL_RECT),
57 ("dwMaximumWindowSize", _COORD),
58 ]
59
60 GetStdHandle = windll.kernel32.GetStdHandle
61 GetConsoleScreenBufferInfo = windll.kernel32.GetConsoleScreenBufferInfo

Callers 1

_pty_sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…