(self, attr, width)
Set up screen row empty and unwrapped.
Set up screen row empty and unwrapped.
Set up screen row empty and unwrapped .
def __init__(self, attr, width):
        """Set up screen row empty and unwrapped."""
        # halfwidth character buffer, initialised to spaces
        self.chars = [b' '] * width
        # attribute buffer
        self.attrs = [attr] * width
        # last non-whitespace column [0--width], zero means all whitespace
        self.length = 0
        # line continues on next row (either LF or word wrap happened)
        self.wrap = False
def __init__ ( self , attr , width ) : # halfwidth character buffer, initialised to spaces self . chars = [ b' ' ] * width # attribute buffer self . attrs = [ attr ] * width # last non-whitespace column [0--width], zero means all whitespace self . length = 0 # line continues on next row (either LF or word wrap happened) self . wrap = False