Minor cleanup

master
Guillaume Seguin 2013-05-18 22:37:49 +02:00
parent f1fc71ba05
commit 008d3f4a4e
1 changed files with 1 additions and 1 deletions

View File

@ -1039,7 +1039,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
wx.CallAfter(self.addtexttolog, ">>>" + command + "\n");
self.onecmd(str(command))
self.commandbox.SetSelection(0, len(command))
self.commandbox.history+=[command]
self.commandbox.history.append(command)
self.commandbox.histindex = len(self.commandbox.history)
def clearOutput(self, e):