func TypeAhead(fd int) int { return int(C.typeahead(C.int(fd))) }
func Typeahead(fd int) error { if C.typeahead(C.int(fd)) == C.ERR { return CursesError{"typeahead failed"} } return nil }