killercup / convey

A Rust create for outputting information and log messages for humans and machines
https://docs.rs/convey
Apache License 2.0
39 stars 5 forks source link

Could crossterm be helpful? #28

Open TimonPost opened 5 years ago

TimonPost commented 5 years ago

Hey, author of crossterm here. Because of some discussion in wg-cli I came up to this crate and saw the issues.

Crossterm solves a lot of issues you've listed . Like input, clearing of screen, coloring, rawscreen, alternate screen etc. It is completely 'Send' and 'Sync' and cross-platform.

I thought you might be interested in it. I am currently working on version 0.5 which will make user API more convenient.

https://github.com/TimonPost/crossterm

killercup commented 5 years ago

Thanks, this looks very cool! Do you have an example for a progress bar or something like that? This is the next feature I wanted to add to this library.

On Sun, 18 Nov 2018, 16:09 Timon, notifications@github.com wrote:

Hey, author of crossterm here. Because of some discussion in wg-cli I came up to this crate and saw the issues.

Crossterm solves a lot of issues you've listed . Like input, clearing of screen and coloring etc. It is completely 'Send' and 'Sync' and cross-platform.

I thought you might be interested in it. I am currently working on version 0.5 which will make user API more convenient.

https://github.com/TimonPost/crossterm

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/killercup/convey/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AABOX0ASPVT_kxjg8jLL3_uF5j5eLi3pks5uwXgsgaJpZM4Yn-85 .

TimonPost commented 5 years ago

No, unfortunately not. I wanted to do something like that. I have some examples in example folder which could help you to get around. I've got some example which allows you to type some command at the bottom of the screen while text is being logged. You can find that one as well in the example folder.