docs: def end_of_history(self, current): # (M->)
          u'''Move to the end of the input history, i.e., the line currently
          being entered.'''
          self.history_cursor = len(self.history)
          current.set_line(self.history[-1].get_line_text())