Commit 07e08887 authored by kliment's avatar kliment

Merge pull request #18 from k-eex/master

Auto-select text after executing command (so when typing next command it gets overwritten)
parents 20d5ffad 71762e17
...@@ -399,6 +399,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -399,6 +399,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
return return
wx.CallAfter(self.logbox.AppendText,">>>"+command+"\n") wx.CallAfter(self.logbox.AppendText,">>>"+command+"\n")
self.onecmd(str(command)) self.onecmd(str(command))
self.commandbox.SetSelection(0,len(command))
def statuschecker(self): def statuschecker(self):
try: try:
......
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