Don't process keys that was passed to nvim instance

This commit is contained in:
daa 2016-05-03 13:36:59 +03:00
parent d071cabce6
commit 59b00b392a

View File

@ -119,8 +119,10 @@ fn gtk_key_press(_: &Window, ev: &EventKey) -> Inhibit {
let mut ui = ui_cell.borrow_mut();
ui.nvim().input(&input).expect("Error run input command to nvim");
});
Inhibit(true)
} else {
Inhibit(false)
}
Inhibit(false)
}
fn calc_char_bounds(ctx: &cairo::Context) -> TextExtents {