pancurses: set ESCDELAY after initializing screen
@@ -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();
