Open
Description
this is on the new linenoise-ng code:
tried typing in some non-utf8 garbage.
predictably it panics at
let cast = str::from_utf8(CStr::from_ptr(ptr).to_bytes()).unwrap().to_string();
around src/lib.rs:79
not sure what the correct response is. print the error and return None?
change the signature to return a Result<Option> ?
Metadata
Metadata
Assignees
Labels
No labels