##// END OF EJS Templates
Fix: output prompt is now displayed correclty.
laurent dufrechou -
Show More
@@ -499,6 +499,7 b' class NonBlockingIPShell(object):'
499 except:
499 except:
500 self._IP.showtraceback()
500 self._IP.showtraceback()
501 else:
501 else:
502 self._IP.write(str(self._IP.outputcache.prompt_out).strip())
502 self._iter_more = self._IP.push(line)
503 self._iter_more = self._IP.push(line)
503 if (self._IP.SyntaxTB.last_syntax_error and self._IP.rc.autoedit_syntax):
504 if (self._IP.SyntaxTB.last_syntax_error and self._IP.rc.autoedit_syntax):
504 self._IP.edit_syntax_error()
505 self._IP.edit_syntax_error()
@@ -630,6 +630,8 b' class IPShellWidget(wx.Panel):'
630 lines_to_execute = lines_to_execute.replace('\r','')
630 lines_to_execute = lines_to_execute.replace('\r','')
631 self.IP.doExecute(lines_to_execute.encode(ENCODING))
631 self.IP.doExecute(lines_to_execute.encode(ENCODING))
632 self.updateHistoryTracker(lines)
632 self.updateHistoryTracker(lines)
633 if(self.text_ctrl.getCursorPos()!=0):
634 self.text_ctrl.removeCurrentLine()
633 self.setCurrentState('WAIT_END_OF_EXECUTION')
635 self.setCurrentState('WAIT_END_OF_EXECUTION')
634
636
635 def evtStateExecuteDone(self,evt):
637 def evtStateExecuteDone(self,evt):
General Comments 0
You need to be logged in to leave comments. Login now