putstdout
#define putcap(str) (void)((str) != NULL ? tputs(str, 1, putstdout) : 0)
tputs(tgoto(tc_cursor_motion, x, y), 1, putstdout);