Skip to content

Commit 77a8477

Browse files
Expose KeyPressEvent in key_binding/__init__.py
This is often used in type annotations.
1 parent 07e3429 commit 77a8477

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

prompt_toolkit/key_binding/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
KeyBindingsBase,
66
merge_key_bindings,
77
)
8-
from .key_processor import KeyPress
8+
from .key_processor import KeyPress, KeyPressEvent
99

1010
__all__ = [
11+
# key_bindings.
1112
"ConditionalKeyBindings",
1213
"DynamicKeyBindings",
1314
"KeyBindings",
1415
"KeyBindingsBase",
1516
"merge_key_bindings",
17+
# key_processor
1618
"KeyPress",
19+
"KeyPressEvent",
1720
]

0 commit comments

Comments
 (0)