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