Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for hex and rgb values in config. #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samuelstevens
Copy link

Design

  • Adds a struct to represent the config right after loading from the .ini file using primitive types (string, int, bool, etc.)
  • Adds a struct to represent the config with rich types (tcell.Color).
  • Prints any errors in the configuration to the console.
  • config.Color is a simple wrapper around tcell.Color that has a .HexCode method to return a "#RRGGBB" string where needed.

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.

1 participant