def readline(self, size = None):

        if self.closed: raise ValueError('file closed')
        if self._mode in _allowed_write:
            raise Exception('file opened for write only')
        if self._read_finished: return None

        line = b''
        while not line.endswith(b'\n') and not self._read_finished and (size is None or len(line) <= size):
            line += self.read(1)
        return line
Clear the Screen of all content.
dataset/ETHPy150Open ricmoo/pyscrypt/pyscrypt/file.py/ScryptFile.readline--crossover with--dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_CursesScreen._clear