def printXMode(self):
        if self.mode == X_MODE:
            (maxy, _) = self.scrollBar.screenControl.getScreenDimensions()
            topY = maxy - 2
            minY = self.scrollBar.getMinY() - 1
            for i in range(minY, topY + 1):
                idx = i - minY
                if idx < len(lbls):
                    self.colorPrinter.addstr(i, 1, lbls[idx])
dataset/ETHPy150Open facebook/PathPicker/src/screenControl.py/Controller.printXMode/original