//Flakey function according to ncurses DOC func (w *Window) Syncok(bf bool) error { var bfint int if bf { bfint++ } if C.syncok(w.win, C.int(bfint)) == ERR { return ErrorWindowSyncok } return nil }
func (win *Window) Syncok(b bool) error { if C.syncok((*C.WINDOW)(win), bool2cint(b)) == C.ERR { return CursesError{"syncok failed"} } return nil }