Update ncurses and owning-ref dependencies

This commit is contained in:
Alexandre Bury 2018-01-15 13:58:26 -08:00
parent 39405ba1ec
commit 5003095171
2 changed files with 3 additions and 4 deletions

View File

@ -29,7 +29,7 @@ repository = "gyscos/Cursive"
log = "0.4"
maplit = "1.0.0"
num = "0.1"
owning_ref = { git = "https://github.com/gyscos/owning-ref-rs" }
owning_ref = "0.3.3"
toml = "0.4"
unicode-segmentation = "1.0"
unicode-width = "0.1"
@ -52,7 +52,7 @@ version = "0.3"
[dependencies.ncurses]
features = ["wide"]
optional = true
version = "5.87.0"
version = "5.91.0"
[dependencies.pancurses]
features = ["wide"]

View File

@ -230,8 +230,7 @@ impl backend::Backend for Concrete {
Effect::Reverse => ncurses::A_REVERSE(),
Effect::Simple => ncurses::A_NORMAL(),
Effect::Bold => ncurses::A_BOLD(),
// Effect::Italic => ncurses::A_ITALIC(),
Effect::Italic => ncurses::A_NORMAL(),
Effect::Italic => ncurses::A_ITALIC(),
Effect::Underline => ncurses::A_UNDERLINE(),
};
ncurses::attron(style);