mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-09 19:00:46 +00:00
Update pancurses to 0.4.0
This commit is contained in:
parent
af0c97749d
commit
c84cafb4fd
@ -26,7 +26,7 @@ features = ["wide"]
|
||||
optional = true
|
||||
|
||||
[dependencies.pancurses]
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
optional = true
|
||||
|
||||
[dependencies.termion]
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user