def clearConsoleLine(forceOutput=False):
 if getattr(LOGGER_HANDLER, 'is_tty', False):
  dataToStdout(('\r%s\r' % (' ' * (getConsoleWidth() - 1))), forceOutput)
 kb.prependFlag = False
 kb.stickyLevel = None

def clearConsoleLine ( forceOutput = False ) : if getattr ( LOGGER_HANDLER , 'is_tty' , False ) : dataToStdout ( ( '\r%s\r' % ( ' ' * ( getConsoleWidth ( ) - 1 ) ) ) , forceOutput ) kb . prependFlag = False kb . stickyLevel = None
clears current console line .