def getlist(self):
        """
        Return a list of the current history.
        :return: list of current history entries
        :rtype: list of str
        """
        if self._current not in self._histories:
            self._histories[self._current] = []
        return self._histories[self._current][::-1]

        Return a list of the current history.
        :return: list of current history entries
        :rtype: list of str
        
system/shhistory.py