(self, row, col, char, attr, adjust_end=False)
Put a byte to the screen, reinterpreting SBCS and DBCS as necessary.
Put a byte to the screen, reinterpreting SBCS and DBCS as necessary.
Put a byte to the screen reinterpreting SBCS and DBCS as necessary .
def put_char_attr(self, row, col, char, attr, adjust_end=False):
        """Put a byte to the screen, reinterpreting SBCS and DBCS as necessary."""
        assert isinstance(char, bytes), type(char)
        # update the screen buffer
        self._rows[row-1].chars[col-1] = char
        self._rows[row-1].attrs[col-1] = attr
        if adjust_end:
            self._rows[row-1].length = max(self._rows[row-1].length, col)
        self._update(row, col, col)
def put_char_attr ( self , row , col , char , attr , adjust_end = False ) : assert isinstance ( char , bytes ) , type ( char ) # update the screen buffer self . _rows [ row - 1 ] . chars [ col - 1 ] = char self . _rows [ row - 1 ] . attrs [ col - 1 ] = attr if adjust_end : self . _rows [ row - 1 ] . length = max ( self . _rows [ row - 1 ] . length , col ) self . _update ( row , col , col )