Syntax
void GtSetStdErrConsole( xBool on );
Arguments
on enables the setting with T or disables it with F.
Return value
No return value.
Description
Controls whether OutErr() writes to the terminal window. With the setting disabled, OutErr() writes to stderr. Check the resulting state with GtIsStdErrConsole().
Example
#include "xdev-wtui.h"
int main( void )
{
xBool previous = GtIsStdErrConsole();
GtSetStdErrConsole( T );
OutErr( "A diagnostic in the terminal window." );
Inkey( 2, NIL );
GtSetStdErrConsole( previous );
return 0;
}