set_term(3cur) set_term(3cur)
Name
set_term - switch between terminals
Syntax
#include <cursesX.h>
SCREEN *set_term(new)
SCREEN *new;
Description
This routine is used to switch between different terminals. The screen reference becomes the new current terminal. The previous terminal
screen reference is returned by the routine.
This is the only routine which manipulates SCREEN pointers; all the others change the current terminal only.
Return Values
The function returns a pointer to the previous SCREEN structure on success and a null pointer on error.
set_term(3cur)