QScintilla/Shell.py

branch
6_1_x
changeset 5177
d6bdb0f706b9
parent 5127
23fdfb2be857
--- a/QScintilla/Shell.py	Wed Sep 14 18:36:43 2016 +0200
+++ b/QScintilla/Shell.py	Sat Sep 24 18:00:30 2016 +0200
@@ -1434,7 +1434,7 @@
             if not cmd:
                 cmd = ''
             else:
-                cmd = cmd.replace(self.prompt, "")
+                cmd = cmd[len(self.prompt):]
             self.dbs.remoteRawInput(cmd)
         
     def __useHistory(self):

eric ide

mercurial