Show More
@@ -372,6 +372,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
372 | 372 | self._pt_app.layout = create_prompt_layout(**self._layout_options()) |
|
373 | 373 | |
|
374 | 374 | def prompt_for_code(self): |
|
375 | with self.pt_cli.patch_stdout_context(raw=True): | |
|
375 | 376 | document = self.pt_cli.run( |
|
376 | 377 | pre_run=self.pre_prompt, reset_current_buffer=True) |
|
377 | 378 | return document.text |
General Comments 0
You need to be logged in to leave comments.
Login now