File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/pages/advanced_topics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ filters <filters>`.)
8282 The key binding will be ignored when this condition is not satisfied.
8383
8484
85- ConditinalKeyBindings : Disabling a set of key bindings
85+ ConditionalKeyBindings : Disabling a set of key bindings
8686^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8787
8888Sometimes you want to enable or disable a whole set of key bindings according
@@ -91,14 +91,14 @@ to a certain condition. This is possible by wrapping it in a
9191
9292.. code :: python
9393
94- from prompt_toolkit.key_binding import ConditinalKeyBindings
94+ from prompt_toolkit.key_binding import ConditionalKeyBindings
9595
9696 @Condition
9797 def is_active ():
9898 " Only activate key binding on the second half of each minute. "
9999 return datetime.datetime.now().second > 30
100100
101- bindings = ConditinalKeyBindings (
101+ bindings = ConditionalKeyBindings (
102102 key_bindings = my_bindings,
103103 filter = is_active)
104104
You can’t perform that action at this time.
0 commit comments