mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-24 01:46:31 +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
|
optional = true
|
||||||
|
|
||||||
[dependencies.pancurses]
|
[dependencies.pancurses]
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[dependencies.termion]
|
[dependencies.termion]
|
||||||
|
@ -4,8 +4,7 @@ use backend;
|
|||||||
use event::{Event, Key};
|
use event::{Event, Key};
|
||||||
|
|
||||||
use self::super::find_closest;
|
use self::super::find_closest;
|
||||||
use theme::{BaseColor, Color, ColorStyle, Effect};
|
use theme::{Color, ColorStyle, Effect};
|
||||||
use utf8;
|
|
||||||
|
|
||||||
pub struct Concrete {
|
pub struct Concrete {
|
||||||
window: pancurses::Window,
|
window: pancurses::Window,
|
||||||
@ -206,6 +205,8 @@ impl backend::Backend for Concrete {
|
|||||||
pancurses::Input::KeyC1 => Event::Refresh,
|
pancurses::Input::KeyC1 => Event::Refresh,
|
||||||
pancurses::Input::KeyC3 => Event::Refresh,
|
pancurses::Input::KeyC3 => Event::Refresh,
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Event::Refresh
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user