Closed phimuemue closed 8 years ago
What's Color
? I couldn't find it in the linked repo.
I just wrote Color
as a placeholder for the color constants. It's actually i16
(see https://github.com/jeaye/ncurses-rs/blob/8ac680c5549c998fc9c1c0051c6b0f98cd0fa397/src/constants.rs).
Let's not do that explicitly but instead let's DRY out some code in such a way to make this simple!
You can use ops::create_colourtable()
now and display the images yourself with ncurses-rs
manually in a simple fashion, thanks for the suggestion.
Released in v0.3.0
That was a great suggestion, @phimuemue, thanks!
Can termimage be used in conjunction with ncurses-rs (see https://github.com/jeaye/ncurses-rs)?
I would imagine something like outputting the image data to a
Vec<Vec<(Color, Color)>>
that then can be used by ncurses.