Show More
@@ -132,7 +132,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
132 | else: |
|
132 | else: | |
133 | b.insert_text('\n' + (' ' * (indent or 0))) |
|
133 | b.insert_text('\n' + (' ' * (indent or 0))) | |
134 |
|
134 | |||
135 | @kbmanager.registry.add_binding(Keys.ControlC) |
|
135 | @kbmanager.registry.add_binding(Keys.ControlC, filter=HasFocus(DEFAULT_BUFFER)) | |
136 | def _(event): |
|
136 | def _(event): | |
137 | event.current_buffer.reset() |
|
137 | event.current_buffer.reset() | |
138 |
|
138 |
General Comments 0
You need to be logged in to leave comments.
Login now