示例#1
0
func TypeAhead(fd int) int {

	return int(C.typeahead(C.int(fd)))
}
示例#2
0
文件: curses.go 项目: zyxar/gocurse
func Typeahead(fd int) error {
	if C.typeahead(C.int(fd)) == C.ERR {
		return CursesError{"typeahead failed"}
	}
	return nil
}