We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e2a5e commit c95d624Copy full SHA for c95d624
prompt_toolkit/key_binding/bindings/mouse.py
@@ -131,8 +131,9 @@ def _mouse(event: E) -> None:
131
output = event.app.renderer.output
132
133
from prompt_toolkit.output.win32 import Win32Output
134
+ from prompt_toolkit.output.windows10 import Windows10_Output
135
- if isinstance(output, Win32Output):
136
+ if isinstance(output, (Win32Output, Windows10_Output)):
137
screen_buffer_info = output.get_win32_screen_buffer_info()
138
rows_above_cursor = (
139
screen_buffer_info.dwCursorPosition.Y - event.app.renderer._cursor_pos.y
0 commit comments