(self, queues, values, mode, cursor, capabilities)
Initialise text-related members.
Initialise text-related members.
Initialise text - related members .
def __init__(self, queues, values, mode, cursor, capabilities):
        """Initialise text-related members."""
        self._queues = queues
        self._values = values
        self._tandytext = capabilities in ('pcjr', 'tandy')
        # cursor
        self._cursor = cursor
        # current row and column
        # overflow: true if we're on 80 but should be on 81
        self.current_row, self.current_col, self.overflow = 1, 1, False
        # text viewport parameters
        self.scroll_area = ScrollArea(mode)
        # writing on bottom row is allowed
        self._bottom_row_allowed = False
        # function key macros
        self._bottom_bar = BottomBar()
        # initialised by init_mode
        self.mode = None
        self._attr = 0
        self._apagenum = 0
        self._vpagenum = 0
        self._pages = None
        self._apage = None
def __init__ ( self , queues , values , mode , cursor , capabilities ) : self . _queues = queues self . _values = values self . _tandytext = capabilities in ( 'pcjr' , 'tandy' ) # cursor self . _cursor = cursor # current row and column # overflow: true if we're on 80 but should be on 81 self . current_row , self . current_col , self . overflow = 1 , 1 , False # text viewport parameters self . scroll_area = ScrollArea ( mode ) # writing on bottom row is allowed self . _bottom_row_allowed = False # function key macros self . _bottom_bar = BottomBar ( ) # initialised by init_mode self . mode = None self . _attr = 0 self . _apagenum = 0 self . _vpagenum = 0 self . _pages = None self . _apage = None