Syntax
void DispEnd( void );
Arguments
No arguments.
Return value
No return value.
Description
Close one display batch started with `DispBegin()`. If batches are nested, the outermost call to `DispEnd()` releases the accumulated output for display. This lets a sequence of updates appear together.
Example
#include "xdev-wtui.h"
#include "xdev-wtui-box.h"
#include <stdio.h>
int main( void )
{
DispBegin();
DispBegin();
DispBox( 1, 1, 5, 30, B_SINGLE, NULL );
SetPos( 3, 3 );
DispOut( "Buffered output", NULL );
printf( "Pending updates: %d\n", DispCount() );
DispEnd();
DispEnd();
Inkey( 0, NIL );
return 0;
}