Closed pumken closed 1 year ago
Could you rebase this to get the CI works?
Some files in the examples folder don't compile due to API changes in the rand crate; will get this working sooner or later. (Also I used a merge instead of a rebase by accident but it might be fine idk)
It compiles successfully, but I've tried to run space_invaders.rs
and roguelike.rs
and it immediately panics due to calling unwrap()
on the Result
of ct::terminal::enable_raw_mode()
with the "device not configured" and the Result
of ct::event::poll()
due to failure to "initialize input reader." Needs further review.
Do not worry about merging or rebasing; I'll squash the whole branch into a single commit before merging into the master.
Ok! thanks for analyzing this. Probably the crossterm
library has changed a lot from the last version used.
@lemunozm This should be okay to merge; after further testing, it seems that the panicking was a result of running examples within CLion. I tested an example in the actual terminal and no panicking occurs.
Thanks @pumken !!
The following updates were made:
Also removed the
package.maintenance
manifest key as it was flagged as unused by Cargo.This commit compiles but may not work as intended if APIs have changed. Probably should test the library in binaries using it.