Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get rid of a warning when using newterm
newterm https://github.com/jeaye/ncurses-rs/blob/3aa22bc279e4929e3ab69d49f75a18eda3e431e9/src/lib.rs#L1023-L1029 CString::new https://doc.rust-lang.org/std/ffi/struct.CString.html#method.new bubble up this newterm error as suggested here: gyscos#778 (comment) Co-authored-by: Alexandre Bury <alexandre.bury@gmail.com> preserve original error in the panic report otherwise, we'd not know why ncurses-rs newterm errored directly include the variable name in the format! expression as suggested here: gyscos#778 (comment) Co-authored-by: Alexandre Bury <alexandre.bury@gmail.com>
- Loading branch information