Update pancurses to 0.4.0

This commit is contained in:
nabijaczleweli 2016-10-10 20:51:32 +02:00
parent af0c97749d
commit c84cafb4fd
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1
2 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@ features = ["wide"]
optional = true
[dependencies.pancurses]
version = "0.3.0"
version = "0.4.0"
optional = true
[dependencies.termion]

View File

@ -4,8 +4,7 @@ use backend;
use event::{Event, Key};
use self::super::find_closest;
use theme::{BaseColor, Color, ColorStyle, Effect};
use utf8;
use theme::{Color, ColorStyle, Effect};
pub struct Concrete {
window: pancurses::Window,
@ -206,6 +205,8 @@ impl backend::Backend for Concrete {
pancurses::Input::KeyC1 => Event::Refresh,
pancurses::Input::KeyC3 => Event::Refresh,
}
} else {
Event::Refresh
}
}