add window, putstr on window and boxfill on window api