(self, sequence)
Insert one or more half- or fullwidth characters and adjust cursor.
Insert one or more half- or fullwidth characters and adjust cursor.
Insert one or more half - or fullwidth characters and adjust cursor .
def insert_fullchars(self, sequence):
        """Insert one or more half- or fullwidth characters and adjust cursor."""
        # insert one at a time at cursor location
        # to let cursor position logic deal with scrolling
        with self._apage.collect_updates():
            for c in iterchar(sequence):
                if self._insert_at(self.current_row, self.current_col, c, self._attr):
                    # move cursor by one character
                    # this will move to next row when necessary
                    self.incr_pos()
        self._move_cursor(self.current_row, self.current_col)
def insert_fullchars ( self , sequence ) : # insert one at a time at cursor location # to let cursor position logic deal with scrolling with self . _apage . collect_updates ( ) : for c in iterchar ( sequence ) : if self . _insert_at ( self . current_row , self . current_col , c , self . _attr ) : # move cursor by one character # this will move to next row when necessary self . incr_pos ( ) self . _move_cursor ( self . current_row , self . current_col )