Skip to content

Add Color enum#20

Open
Helveg wants to merge 4 commits intoFedericoCeratto:mainfrom
Helveg:lint
Open

Add Color enum#20
Helveg wants to merge 4 commits intoFedericoCeratto:mainfrom
Helveg:lint

Conversation

@Helveg
Copy link
Contributor

@Helveg Helveg commented Mar 22, 2024

closes #12. Adds a backwards compatible IntEnum that can be used wherever color is used now. Also removed the last occurence of py2 style classes, and use an abstract base class to enforce that subclasses of Tile must implement _display.

(This PR is just a temporary fix while I work on adding full Blessed foreground, background, border, title color support)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How do colours work in Text()?

1 participant