You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thomas Foster edited this page Mar 22, 2021
·
4 revisions
Function Refresh screen and input buffers.
Syntaxvoid refresh(void);
Prototype in dos.h
Return value None.
Remarks
Call refresh to display any visual changes, such as text printed with cprintf, and to update the keyboard and mouse input buffers. Typically, refresh should be called once in your program loop.
refresh limits the speed of your program to 60 FPS as well as checks for and handles quit events, like the window's close button being pressed.