diff --git a/cursive/src/backends/curses/pan.rs b/cursive/src/backends/curses/pan.rs index bea5286..c78b372 100644 --- a/cursive/src/backends/curses/pan.rs +++ b/cursive/src/backends/curses/pan.rs @@ -53,7 +53,7 @@ impl Backend { ::std::env::set_var("ESCDELAY", "25"); if cfg!(unix) { - let buf = CString::new("").unwrap(); + let buf = std::ffi::CString::new("").unwrap(); unsafe { libc::setlocale(libc::LC_ALL, buf.as_ptr()) }; }