Skip to content

Commit a4f6935

Browse files
Enable search/abort/exit bindings again. (Disabled by default in new prompt-toolkit.
1 parent edfb628 commit a4f6935

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ptpython/python_input.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ def __init__(self,
222222

223223
# Use a KeyBindingManager for loading the key bindings.
224224
self.key_bindings_manager = KeyBindingManager(
225+
enable_abort_and_exit_bindings=True,
226+
enable_search=True,
225227
enable_vi_mode=Condition(lambda cli: self.vi_mode),
226228
enable_open_in_editor=Condition(lambda cli: self.enable_open_in_editor),
227229
enable_system_bindings=Condition(lambda cli: self.enable_system_bindings),

0 commit comments

Comments
 (0)