use ::context::Context;
#[link(name="ncurses")]
extern {
fn mvwaddch(ptr: *const u64, y: u64, x: u64, c: u8);
}
pub fn print_char(x: u64, y: u64, win: String, c: char, context: &mut Context)
{
unsafe { mvwaddch(context.win.get(&win).unwrap().ptr, y, x, c as u8); }
}