def addPrint(self, text):
    consoleLogger.info(text)
    terminalSize = shutil.get_terminal_size([80, 20])
    if (len(text) > terminalSize[0]):
        if (len(text) > (2 * terminalSize[0])):
            text = text[:(2 * terminalSize[0])]
        with self.console_queue_lock:
            self.__consoleBuffer.append(text[:terminalSize[0]])
            self.__consoleBuffer.append(text[terminalSize[0]:])
    else:
        with self.console_queue_lock:
            self.__consoleBuffer.append(text)
    self.printNetworkStatus()
def addPrint(self, text):
    consoleLogger.info(text)
    terminalSize = shutil.get_terminal_size([80, 20])
    if (len(text) > terminalSize[0]):
        if (len(text) > (2 * terminalSize[0])):
            text = text[:(2 * terminalSize[0])]
        with self.console_queue_lock:
            self.__consoleBuffer.append(text[:terminalSize[0]])
            self.__consoleBuffer.append(text[terminalSize[0]:])
    else:
        with self.console_queue_lock:
            self.__consoleBuffer.append(text)
    self.printNetworkStatus()