Don't use ncurses's wide attribute on macos

This commit is contained in:
Alexandre Bury 2016-12-10 08:09:26 -08:00
parent 2bacfcb11e
commit cf80749b8d

View File

@ -29,11 +29,15 @@ unicode-width = "0.1"
optional = true
version = "1.3.1"
[dependencies.ncurses]
[target.'cfg(target_os = "linux")'.dependencies.ncurses]
features = ["wide"]
optional = true
version = "5.84.0"
[target.'cfg(target_os = "macos")'.dependencies.ncurses]
optional = true
version = "5.84.0"
[dependencies.pancurses]
features = ["wide"]
optional = true