diff -r dac66bb81340 -r a9dcbeb26ff6 QScintilla/Shell.py --- a/QScintilla/Shell.py Thu Aug 18 17:34:05 2016 +0200 +++ b/QScintilla/Shell.py Wed Aug 24 19:51:38 2016 +0200 @@ -576,7 +576,12 @@ """ Private slot to clear the current history. """ - self.history = [] + if self.clientType: + self.historyLists[self.clientType] = [] + self.history = self.historyLists[self.clientType] + else: + self.history = [] + self.histidx = -1 def __selectHistory(self): """