(self, c)
return out
Process a single char with box drawing protection; case 4, continuing box drawing
Process a single char with box drawing protection; case 4, continuing box drawing
Process a single char with box drawing protection ; case 4 continuing box drawing
def _process_case4(self, c):
        """Process a single char with box drawing protection; case 4, continuing box drawing """
        out = []
        if c not in self._cp.lead:
            out.append(c)
            # goes to case 0
        elif self._cp.connects(self._last, c, self._bset):
            self._last = c
            out.append(c)
            # goes to case 4
        else:
            self._buf += c
            self._bset = -1
            # goes to case 1
        return out
def _process_case4 ( self , c ) : out = [ ] if c not in self . _cp . lead : out . append ( c ) # goes to case 0 elif self . _cp . connects ( self . _last , c , self . _bset ) : self . _last = c out . append ( c ) # goes to case 4 else : self . _buf += c self . _bset = - 1 # goes to case 1 return out