(self, fore, back, blink, underline)
Set current attributes.
Set current attributes.
Set current attributes .
def set_attributes(self, fore, back, blink, underline):
        """Set current attributes."""
        self._attrs = fore % 8 + back * 16 + (BRIGHT if fore > 8 else NORMAL)
        _SetConsoleTextAttribute(self._hstdout, self._attrs)
def set_attributes ( self , fore , back , blink , underline ) : self . _attrs = fore % 8 + back * 16 + ( BRIGHT if fore > 8 else NORMAL ) _SetConsoleTextAttribute ( self . _hstdout , self . _attrs )