(self, display, console)
Initialise screen file.
Initialise screen file.
Initialise screen file .
def __init__(self, display, console):
        """Initialise screen file."""
        RawFile.__init__(self, nullstream(), filetype=b'D', mode=b'O')
        # need display object as WIDTH can change graphics mode
        self._display = display
        # screen member is public, needed by print_
        self.console = console
        self._width = self.console.width
        self._col = self.console.current_col
        # on master-file devices, this is the master file.
        self._is_master = True
def __init__ ( self , display , console ) : RawFile . __init__ ( self , nullstream ( ) , filetype = b'D' , mode = b'O' ) # need display object as WIDTH can change graphics mode self . _display = display # screen member is public, needed by print_ self . console = console self . _width = self . console . width self . _col = self . console . current_col # on master-file devices, this is the master file. self . _is_master = True