(self, text_screen, cursor, keyboard, sound, io_streams, num_fn_keys)
Initialise environment.
Initialise environment.
Initialise environment .
def __init__(self, text_screen, cursor, keyboard, sound, io_streams, num_fn_keys):
        """Initialise environment."""
        self._text_screen = text_screen
        self._cursor = cursor
        self._sound = sound
        self._keyboard = keyboard
        self._io_streams = io_streams
        self._num_fn_keys = num_fn_keys
        # overwrite mode (instead of insert)
        self._overwrite_mode = True
        # needs to be set later due to init order
        self._lpt1_file = None
        self._update_bar()
def __init__ ( self , text_screen , cursor , keyboard , sound , io_streams , num_fn_keys ) : self . _text_screen = text_screen self . _cursor = cursor self . _sound = sound self . _keyboard = keyboard self . _io_streams = io_streams self . _num_fn_keys = num_fn_keys # overwrite mode (instead of insert) self . _overwrite_mode = True # needs to be set later due to init order self . _lpt1_file = None self . _update_bar ( )