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

refactor: Use Write trait, separate term info #549

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

afnanenayet
Copy link
Owner

Pass a generic write trait to the render trait so we can seamlessly swap
out different sinks to write out to. We also pass in the term object
separately as an optional reference so renderers can dynamically react
to the terminal/presence of a TTY.

@afnanenayet afnanenayet force-pushed the afnan/generic-writer branch 2 times, most recently from b7e194a to 4e4fe20 Compare February 4, 2023 23:51
@afnanenayet afnanenayet force-pushed the afnan/generic-writer branch 3 times, most recently from ac8b727 to 2b30c96 Compare March 19, 2023 21:29
Pass a generic write trait to the render trait so we can seamlessly swap
out different sinks to write out to. We also pass in the term object
separately as an optional reference so renderers can dynamically react
to the terminal/presence of a TTY.
@afnanenayet afnanenayet merged commit 2219eaf into main Mar 19, 2023
@afnanenayet afnanenayet deleted the afnan/generic-writer branch March 19, 2023 23:21
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

1 participant