

def processDirty(self):
    if self.dirty:
        self.printAll()
        return
    (minx, miny, maxx, maxy) = self.getChromeBoundaries()
    didClearLine = False
    for index in self.dirtyIndexes:
        y = ((miny + index) + self.getScrollOffset())
        if ((y >= miny) and (y < maxy)):
            didClearLine = True
            self.clearLine(y)
            self.lineObjs[index].output(self.colorPrinter)
    if (didClearLine and self.helperChrome.getIsSidebarMode()):
        self.helperChrome.output(self.mode)

dataset/ETHPy150Open facebook/PathPicker/src/screenControl.py Controller.processDirty/original