mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
pancurses: set ESCDELAY after initializing screen
This commit is contained in:
parent
db0398ec81
commit
cbe37172b5
@ -14,8 +14,8 @@ pub struct Concrete {
|
||||
|
||||
impl backend::Backend for Concrete {
|
||||
fn init() -> Self {
|
||||
::std::env::set_var("ESCDELAY", "25");
|
||||
let window = pancurses::initscr();
|
||||
::std::env::set_var("ESCDELAY", "25");
|
||||
window.keypad(true);
|
||||
pancurses::noecho();
|
||||
pancurses::cbreak();
|
||||
|
Loading…
Reference in New Issue
Block a user