def outputSide(self):
        if not self.getIsSidebarMode():
            return
        (maxy, maxx) = self.screenControl.getScreenDimensions()
        borderX = maxx - self.WIDTH
        if (self.mode == COMMAND_MODE):
            borderX = len(SHORT_COMMAND_PROMPT) + 20
        usageLines = usageStrings.USAGE_PAGE.split('\n')
        if self.mode == COMMAND_MODE:
            usageLines = usageStrings.USAGE_COMMAND.split('\n')
        for index, usageLine in enumerate(usageLines):
            self.printer.addstr(self.getMinY() + index, borderX + 2, usageLine)
        for y in range(self.getMinY(), maxy):
            self.printer.addstr(y, borderX, '|')
dataset/ETHPy150Open facebook/PathPicker/src/screenControl.py/HelperChrome.outputSide/original