Open nficca opened 6 years ago
Ah, I just noticed this: https://github.com/jeaye/ncurses-rs/blob/6568749e7bb31e36d1bcd8e14aaace64cb0a542e/build.rs#L24 If I change that line to:
let wide = cfg!(feature = "wide");
And then run:
cargo run --features="wide" --example ex_7
It works fine.
What's the reason for the excluding macOS from using wide characters?
Hm, is it because not all of the WchResult::KeyCode(i32)
values work? I've tried wget_wch
with backspace, enter, tab, and escape and they all returned WchResult::Char(u32)
values.
Currently on macOS HighSierra Version 10.13.6.
Trying to get example 7 to run properly, but I'm receiving this message when I try:
Which tells me that I probably haven't set up
ncursesw
properly.Here's what I've done (as per the readme):
brew install ncurses
brew link --force ncurses
cargo run --example ex_7
What am I missing here? Are there additional steps I should be taking to get this to work?