--- 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):