Flush a context, given a context and a set of flags
#include <screen/screen.h>
int screen_flush_context(screen_context_t ctx, int flags)
Function type: Apply Execution
This function flushes any delayed command and causes the contents of displays to be updated, when applicable.
If debugging, you can call this function after all delayed function calls as a way to determine the exact function call which may have caused an error.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).