##// END OF EJS Templates
Set prompt_manager.width to zero for each new document to prevent misaligned Out prompts
Joris Van den Bossche -
Show More
@@ -707,6 +707,7 b' class IPythonDirective(Directive):'
707 if not self.state.document.current_source in self.seen_docs:
707 if not self.state.document.current_source in self.seen_docs:
708 self.shell.IP.history_manager.reset()
708 self.shell.IP.history_manager.reset()
709 self.shell.IP.execution_count = 1
709 self.shell.IP.execution_count = 1
710 self.shell.IP.prompt_manager.width = 0
710 self.seen_docs.add(self.state.document.current_source)
711 self.seen_docs.add(self.state.document.current_source)
711
712
712 # and attach to shell so we don't have to pass them around
713 # and attach to shell so we don't have to pass them around
General Comments 0
You need to be logged in to leave comments. Login now