Sets the scroll flag for the specified window. Format #include <curses.h> scrollok (WINDOW *win, bool boolf);