Commit 008d3f4a authored by Guillaume Seguin's avatar Guillaume Seguin

Minor cleanup

parent f1fc71ba
...@@ -1039,7 +1039,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -1039,7 +1039,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
wx.CallAfter(self.addtexttolog, ">>>" + command + "\n"); wx.CallAfter(self.addtexttolog, ">>>" + command + "\n");
self.onecmd(str(command)) self.onecmd(str(command))
self.commandbox.SetSelection(0, len(command)) self.commandbox.SetSelection(0, len(command))
self.commandbox.history+=[command] self.commandbox.history.append(command)
self.commandbox.histindex = len(self.commandbox.history) self.commandbox.histindex = len(self.commandbox.history)
def clearOutput(self, e): def clearOutput(self, e):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment