Functions

SetBlink

Toggle * interpretation between blinking/background intensity

Syntax

Signature
xBool SetBlink( int toggle );

Arguments

toggle Zero disables the setting, a nonzero value enables it, and NIL reads it without changing it.

Return value

The previous blink setting as T or F.

Description

Controls how the driver interprets `*` in a `SetColor()` specification. With blinking enabled, the attribute requests blinking text. With blinking disabled, it can select background intensity. The visual effect depends on driver support. Save the previous setting if the change is temporary.

Example

setblink.c
#include "xdev-wtui.h"

int main( void )
{
   xBool previous = SetBlink( T );
   DispOut( "Attention", "W*/R" );
   Inkey( 0, NIL );
   SetBlink( previous );

   return 0;
}