Show More
@@ -372,8 +372,9 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 | document = self.pt_cli.run( | |
|
376 | pre_run=self.pre_prompt, reset_current_buffer=True) | |
|
375 | with self.pt_cli.patch_stdout_context(raw=True): | |
|
376 | document = self.pt_cli.run( | |
|
377 | pre_run=self.pre_prompt, reset_current_buffer=True) | |
|
377 | 378 | return document.text |
|
378 | 379 | |
|
379 | 380 | def enable_win_unicode_console(self): |
General Comments 0
You need to be logged in to leave comments.
Login now