def render(self):
    'Render the context information at the top of the window.'
    lines = self.lines[(- self.mode):]
    lines.reverse()
    color = self.program.color.get('top_info')
    for (i, line) in enumerate(lines):
        self.addStr(i, 0, (line + (u' ' * (self.cols - len(line))))[:self.cols], color)
    for i in range(len(lines), self.rows):
        self.addStr(i, 0, (u' ' * self.cols), color)
Render the context information at the top of the window.
def render(self):
    
    lines = self.lines[(- self.mode):]
    lines.reverse()
    color = self.program.color.get('top_info')
    for (i, line) in enumerate(lines):
        self.addStr(i, 0, (line + (u' ' * (self.cols - len(line))))[:self.cols], color)
    for i in range(len(lines), self.rows):
        self.addStr(i, 0, (u' ' * self.cols), color)