def flushOutput(self): """Clear output buffer, aborting the current output and discarding all that is in the buffer.""" termios.tcflush(self._f.fileno(), termios.TCOFLUSH)