Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Intersted in crossterm implementation? #64

Closed
TimonPost opened this issue Aug 12, 2018 · 10 comments
Closed

Intersted in crossterm implementation? #64

TimonPost opened this issue Aug 12, 2018 · 10 comments

Comments

@TimonPost
Copy link
Contributor

TimonPost commented Aug 12, 2018

Hi, I am the writer of Crossterm cross-platform terminal manipulation library. In a short time, I will launch a new version of my crate which has than support for user input. It will then have all the features that termion has but then crossplatform.

Interested? is there a place where I could contact you like discord or so?

@fdehau
Copy link
Owner

fdehau commented Aug 12, 2018

Hi, yes I'm definitively interested and I wonder how I managed to miss your crate until now =). I'm not on Discord but you can reach me there or by mail.

@TimonPost
Copy link
Contributor Author

Cool 👍, I'll let you no when new version will be released.

@TimonPost
Copy link
Contributor Author

New Version is released!

@fdehau
Copy link
Owner

fdehau commented Sep 4, 2018

Thanks the last release of the library (a beta version) includes a basic backend for crossterm only tested on Linux for now. I will try to adapt it for Windows in the following weeks

@TimonPost
Copy link
Contributor Author

Awesome, nice work!

@esoterra
Copy link

What is the status of tui + crossterm? Is there currently a way to use tui in a cross platform way with crossterm?

@TimonPost
Copy link
Contributor Author

TimonPost commented Feb 17, 2019

I am not very updated but I noticed that there is work in progress. This is an example you could try out. The readme also states that it is usable for as a backend.

That said I will leave a note here for @fdehau about some things who are up-comming for crossterm. The styling module will be much more flexible like the following:

println!("{} Underlined {} No Underline", Attribute::Underlined, Attribute::NoUnderline);
println!("{}{} Red on Yellow", Colored::Fg(Color::Red), Colored::Bg(Color::Yellow));
println!("{}", "aa".green().bold())

Also, I've added a bunch of other attributes.

@TimonPost
Copy link
Contributor Author

TimonPost commented Apr 2, 2019

Input handling has been added more features too, it's at the same level of input features as termion now.

@TimonPost
Copy link
Contributor Author

I have created a PR for cursive support as well: gyscos/cursive#333. If that is finished I will help a hand around here too. If that is needed?

@TimonPost
Copy link
Contributor Author

This can be closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants