Show More
@@ -201,10 +201,12 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
201 |
|
201 | |||
202 | return self.editing_mode |
|
202 | return self.editing_mode | |
203 |
|
203 | |||
204 | @observe("editing_mode") |
|
204 | ||
|
205 | @observe('editing_mode') | |||
205 | def _editing_mode_changed(self, change): |
|
206 | def _editing_mode_changed(self, change): | |
|
207 | u_mode = change.new.upper() | |||
206 | if self.pt_app: |
|
208 | if self.pt_app: | |
207 | self.init_prompt_toolkit_cli() |
|
209 | self.pt_app.editing_mode = getattr(EditingMode, u_mode) | |
208 |
|
210 | |||
209 | @observe('autoformatter') |
|
211 | @observe('autoformatter') | |
210 | def _autoformatter_changed(self, change): |
|
212 | def _autoformatter_changed(self, change): |
General Comments 0
You need to be logged in to leave comments.
Login now