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

How to improve integration with Haskeline or vty, using RIO with a terminal interface. #252

Open
trilogysci opened this issue Feb 4, 2023 · 0 comments

Comments

@trilogysci
Copy link

Seems there should be better options to integrate with haskeline or vty to provide improved terminal interface.
This is what I have so far trying to integrate with haskeline. https://gist.github.com/trilogysci/f7d99258560ee3b92e3fbbde45b09b37
Is not really ideal, the logSticky doesn't really work well with getInputLine or outputStr and outputStr doesn't support colors which is one of the benefits I like about RIO logs.
I haven't yet tried to take on vtk as that would require writing a custom log function and output as a vty Image. Probably two one for normal logs and one for sticky logs, and also determine how to handle colors.
Suggestions for improvements are welcome.

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

No branches or pull requests

1 participant