Show More
@@ -322,6 +322,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
322 | mouse_support=self.mouse_support, |
|
322 | mouse_support=self.mouse_support, | |
323 | enable_open_in_editor=self.extra_open_editor_shortcuts, |
|
323 | enable_open_in_editor=self.extra_open_editor_shortcuts, | |
324 | color_depth=self.color_depth, |
|
324 | color_depth=self.color_depth, | |
|
325 | tempfile_suffix=".py", | |||
325 | **self._extra_prompt_options()) |
|
326 | **self._extra_prompt_options()) | |
326 |
|
327 | |||
327 | def _make_style_from_name_or_cls(self, name_or_cls): |
|
328 | def _make_style_from_name_or_cls(self, name_or_cls): |
@@ -250,7 +250,6 b' def newline_autoindent_outer(inputsplitter) -> Callable[..., None]:' | |||||
250 |
|
250 | |||
251 |
|
251 | |||
252 | def open_input_in_editor(event): |
|
252 | def open_input_in_editor(event): | |
253 | event.app.current_buffer.tempfile_suffix = ".py" |
|
|||
254 | event.app.current_buffer.open_in_editor() |
|
253 | event.app.current_buffer.open_in_editor() | |
255 |
|
254 | |||
256 |
|
255 |
General Comments 0
You need to be logged in to leave comments.
Login now