summaryrefslogtreecommitdiffstats
path: root/contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py
diff options
context:
space:
mode:
authorarcadia-devtools <[email protected]>2022-02-08 15:26:58 +0300
committerarcadia-devtools <[email protected]>2022-02-08 15:26:58 +0300
commit2efaaefec2cb2a55d55c01753d1eed2a3296adb5 (patch)
tree27ec5258b325565c3963b91b36d64e84084fdb04 /contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py
parent23793c5d0827a08b5ff9242d2123eff92b681912 (diff)
intermediate changes
ref:0bfa27bb6c38df8c510497e54e4ebf0b4fb84503
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py')
-rw-r--r--contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py
index f26066cb99f..abfd61774be 100644
--- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py
+++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/output/win32.py
@@ -1,14 +1,5 @@
import os
-from ctypes import (
- ArgumentError,
- byref,
- c_char,
- c_long,
- c_short,
- c_uint,
- c_ulong,
- pointer,
-)
+from ctypes import ArgumentError, byref, c_char, c_long, c_uint, c_ulong, pointer
from ..utils import SPHINX_AUTODOC_RUNNING
@@ -20,6 +11,7 @@ if not SPHINX_AUTODOC_RUNNING:
from ctypes.wintypes import DWORD, HANDLE
from typing import Callable, Dict, List, Optional, TextIO, Tuple, Type, TypeVar, Union
+from prompt_toolkit.cursor_shapes import CursorShape
from prompt_toolkit.data_structures import Size
from prompt_toolkit.styles import ANSI_COLOR_NAMES, Attrs
from prompt_toolkit.utils import get_cwidth
@@ -498,6 +490,12 @@ class Win32Output(Output):
def show_cursor(self) -> None:
pass
+ def set_cursor_shape(self, cursor_shape: CursorShape) -> None:
+ pass
+
+ def reset_cursor_shape(self) -> None:
+ pass
+
@classmethod
def win32_refresh_window(cls) -> None:
"""