summaryrefslogtreecommitdiffstats
path: root/third_party/python/blessed/blessed/win_terminal.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/blessed/blessed/win_terminal.pyi')
-rw-r--r--third_party/python/blessed/blessed/win_terminal.pyi11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/python/blessed/blessed/win_terminal.pyi b/third_party/python/blessed/blessed/win_terminal.pyi
new file mode 100644
index 0000000000..275f16f9ee
--- /dev/null
+++ b/third_party/python/blessed/blessed/win_terminal.pyi
@@ -0,0 +1,11 @@
+# std imports
+from typing import Optional, ContextManager
+
+# local
+from .terminal import Terminal as _Terminal
+
+class Terminal(_Terminal):
+ def getch(self) -> str: ...
+ def kbhit(self, timeout: Optional[float] = ...) -> bool: ...
+ def cbreak(self) -> ContextManager[None]: ...
+ def raw(self) -> ContextManager[None]: ...