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

Add autodetection features based on env vars for better wish support #81

Closed
wants to merge 7 commits into from

Conversation

taigrr
Copy link

@taigrr taigrr commented May 20, 2022

Adds ability to reuse autodetection features of termenv with arbitrary outputs based on TERM and COLORTERM.

relates to charmbracelet/bubbles#152 and conversations in the charmbracelet slack

muesli and others added 7 commits February 4, 2022 10:15
termenv.Output can be initialized with a custom os.File as an output and
supports auto detection of its capabilities. Alternatively you can also
skip auto detection and create a new instance with a specific profile.

Styles (just like Colors) can now be created for specific profiles, with
the Ascii profile stripping away any applied styling.
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.

None yet

3 participants