'The key UP was pressed.'

def _key_up(self):

    if (not self.all_lines):
        return True
    self.historyCount -= 1
    if (self.historyCount < 0):
        self.historyCount = 0
    line = self.all_lines[self.historyCount]
    self._showHistory(line)
    return True
