def render(self):
    self.renderCounter += 1
    app.log.meta((u' ' * 10), self.renderCounter, u'- screen render -')
    self.writeLineRow = 0
    colorPrefs = self.program.color
    colorA = colorPrefs.get(u'default')
    colorB = colorPrefs.get(u'highlight')
    for i in self.lines[(- self.rows):]:
        color = colorA
        if (len(i) and (i[(- 1)] == u'-')):
            color = colorB
        self.writeLine(i, color)
    ViewWindow.render(self)
def render(self):
    self.renderCounter += 1
    app.log.meta((u' ' * 10), self.renderCounter, u'- screen render -')
    self.writeLineRow = 0
    colorPrefs = self.program.color
    colorA = colorPrefs.get(u'default')
    colorB = colorPrefs.get(u'highlight')
    for i in self.lines[(- self.rows):]:
        color = colorA
        if (len(i) and (i[(- 1)] == u'-')):
            color = colorB
        self.writeLine(i, color)
    ViewWindow.render(self)