-
Notifications
You must be signed in to change notification settings - Fork 280
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
termion style ansi api #87
Comments
I do have those on my todo list, however, it is a bit difficult to realize. |
I have implemented it and will be soon usable. preview
|
Closing this will be soon available in crossterm_style |
Looking forward to it. Checked the source out and seems like I only see it for colors. Are there plans to support cursors and clear screen? |
Yes, that might come in the future. |
Great. Looking forward for those so I can migrate to |
Any plans on bringing cursor and clear api? Let me know if I should file a new issue to track it. |
I am not sure if that is something I want, I was thinking about it, but does it really make sense to make the cursor move with a write operation like: |
My thought was that there would be applications that just uses those sequence so instead of me parsing and converting crossterm, it would automatically do it for me. One thing I miss a lot on windows is tmux. Imagine if I could spawn a pty process and just directly pipe it to crossterm. It also allows one to easily create other emebedded terminal support such as in vim with crossterm very easily. Creating apps like these would be very easy if crossterm natively supported it. https://github.com/wez/wezterm. Other interesting cases I can see is having OpenGL or directx for backends. So if I wanted to created a gvim I can easily use the gui backends instead of terminal. As a dev consuming crossterm I would be very happy because all the hard work is handled by crossterm. |
Crossterm supports a similar feature with the command API since version 0.10 |
I do like how it is very easy to get started with termion because it just uses ansi escape sequences. Would it be possible to support something similar in crossterm?
For terminals that do not support it might need to add custom parser though it could be a bit slow.
The text was updated successfully, but these errors were encountered: