Syntax
xBool GtIsAltScreen( void );
Arguments
No arguments.
Return value
T if the program draws on the alternate screen of the terminal, otherwise F; always F with drivers other than the terminal driver.
Description
The alternate screen is set with GtSetAltScreen(). On the normal screen, the default, the output of the program stays in the terminal after it ends.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Alternate screen: %s\n", GtIsAltScreen() ? "on" : "off" );
return 0;
}