summaryrefslogtreecommitdiffstats
path: root/src/prompt_toolkit/layout/mouse_handlers.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 04:45:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 04:45:14 +0000
commit5b43aaac61ac94abe722bc98ae58468618f2f512 (patch)
tree3d58c89faa23d194f83abb24ae1fd05067538fff /src/prompt_toolkit/layout/mouse_handlers.py
parentAdding upstream version 3.0.43. (diff)
downloadprompt-toolkit-5b43aaac61ac94abe722bc98ae58468618f2f512.tar.xz
prompt-toolkit-5b43aaac61ac94abe722bc98ae58468618f2f512.zip
Adding upstream version 3.0.46.upstream/3.0.46
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/prompt_toolkit/layout/mouse_handlers.py')
-rw-r--r--src/prompt_toolkit/layout/mouse_handlers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/prompt_toolkit/layout/mouse_handlers.py b/src/prompt_toolkit/layout/mouse_handlers.py
index 56a4edd..52deac1 100644
--- a/src/prompt_toolkit/layout/mouse_handlers.py
+++ b/src/prompt_toolkit/layout/mouse_handlers.py
@@ -34,9 +34,9 @@ class MouseHandlers:
# over the mouse handlers of the visible region in the scrollable pane.
# Map y (row) to x (column) to handlers.
- self.mouse_handlers: defaultdict[
- int, defaultdict[int, MouseHandler]
- ] = defaultdict(lambda: defaultdict(lambda: dummy_callback))
+ self.mouse_handlers: defaultdict[int, defaultdict[int, MouseHandler]] = (
+ defaultdict(lambda: defaultdict(lambda: dummy_callback))
+ )
def set_mouse_handler_for_range(
self,