-
Notifications
You must be signed in to change notification settings - Fork 245
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
Investigate alternative backend #34
Comments
Author of Termion here. You said right here, that it lacked of certain features, and I'd be happy to implement those. Could you give me a list of what you need? |
The exhaustiveness of input detection was really the main one I was thinking about, but maybe it's not a problem - I'll start working a bit on the port to see how it goes. |
Feel free to ping me as you encounter issues. |
All ncurses-specific code has now been isolated in a Currently missing from Termion to achieve feature parity:
|
Thanks! I'll add those. |
Also:
|
It does! |
Oh - I think I've been reading an outdated doc for some time. |
Yeah, |
You cannot exactly redefine it, but a way to use truecolor will certainly be interesting. I will add that one of the days.
There is a RFC adding timeout recv to mpsc. This can be added whenever that RFC is merged.
This is added. http://ticki.github.io/termion/color/struct.AnsiValue.html cc. myself @ticki |
You mentioned this in the reddit thread. Is there anything new? I've added truecolor. Is there anything else that you need to complete this? |
#59 was blocking this, now that it's closed I'll start experimenting again on a termion backend. |
Special keys are much harder to have identifiers for. There's no standard for those, and I'm not sure exactly if it's even possible... |
Ncurses somehow manages to get it, at least on most terminal emulators (actual TTYs seem more limited) - |
That's a good pont... |
ad7606c adds an initial termion backend. |
@gyscos It seems that you forgot to commit a file ( |
It is present: https://github.com/gyscos/Cursive/blob/master/src/backend/termion.rs To use the termion backend, you need to use the |
ah |
Alternative backends have been investigated. |
Cool! |
Could you open said issues or list them here? I'm interested in helping if I can (this library is nice, and it'd be cool to have e.g. Redox support, which Termion provides). |
@ticki I'm using Termion as a backend for my application and it's been working perfectly so far. Thanks for your hard work making this compatible and on Termion in general! |
Ncurses is nice, but is pretty much terrible.
Intersting alternatives currently include rustty and termion.
First step would be to remove references to ncurses types from the public API (there's not a lot left).
The text was updated successfully, but these errors were encountered: