

def outputSide(self):
    if (not usageLine.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/VarMisuse@13/15 `self`->`usageLine`