Commit 71762e17 authored by Keegi's avatar Keegi

Auto-select all text in command box after executing the line

parent 20d5ffad
...@@ -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