(self)
Reset to default attributes.
Reset to default attributes.
Reset to default attributes .
def reset(self):
        """Reset to default attributes."""
        _SetConsoleScreenBufferInfoEx(self._hstdout, byref(self._orig_csbie))
        self._attrs = self._orig_csbie.wAttributes
        self.show_cursor()
def reset ( self ) : _SetConsoleScreenBufferInfoEx ( self . _hstdout , byref ( self . _orig_csbie ) ) self . _attrs = self . _orig_csbie . wAttributes self . show_cursor ( )