def cmdline_end_of_line(w, size, key):
    self.cmdline_edit.edit_pos = len(self.cmdline_edit.edit_text)
def cmdline_end_of_line(w, size, key):
    self.cmdline_edit.edit_pos = len(self.cmdline_edit.edit_text)