Remove a reference from a specified window
#include <screen/screen.h>
int screen_unref_window(screen_window_t win)
Function Type: Immediate Execution
This function removes a reference to a window. When a window is being referenced, its buffers cannot be destroyed until all references to that window have been removed.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).