func (win *Window) Intrflush(b bool) error { a := bool2cint(b) if C.intrflush((*C.WINDOW)(win), a) == C.ERR { return CursesError{"intrflush failed"} } return nil }
func initCurses() { C.initscr() C.cbreak() C.noecho() C.nonl() C.intrflush(C.stdscr, true) C.keypad(C.stdscr, false) }